readapplications

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package readapplications lists applications: GET /api/applications.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(db bun.IDB) http.HandlerFunc

Handler lists the applications that match the filters, one page of them; X-Total-Count is the count of all. @Summary List applications @Tags applications @Produce json @Param ids query []string false "Applications by id, comma separated or repeated" collectionFormat(csv) @Param status query []string false "Any of these statuses" collectionFormat(csv) Enums(applied,responded,interview,offer,rejected) @Param source query string false "Source: spontaneous, job_post, recruiter or a name given by the user" @Param location query string false "This city, whatever the case" @Param q query string false "Text in company, address, website, source, contact or comment" @Param applied_before query string false "applied_at < this day (2026-01-31)" @Param applied_after query string false "applied_at > this day (2026-01-31)" @Param untouched_since query string false "Not updated since this day (2026-01-31)" @Param fields query []string false "Columns returned, all when empty; id always comes" collectionFormat(csv) @Param max_chars query int false "Cut each comment to this many characters (truncated: true)" @Param sort query string false "applied_at, company, location, source, status, rating, followed_up_at, created_at, updated_at; - first to reverse; -applied_at by default" @Param limit query int false "Most applications returned, all when 0" @Param offset query int false "Applications skipped" @Param count_only query bool false "No application, X-Total-Count only" @Success 200 {array} domain.Application @Header 200 {integer} X-Total-Count "Count of all the applications that match" @Failure 400 {object} respond.Failure @Failure 401 {object} respond.Failure @Router /api/applications [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL