mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
fix: neutered file system
docs: add filter params to api docs
This commit is contained in:
@ -313,6 +313,42 @@ var doc = `{
|
||||
"description": "Range interval identifier",
|
||||
"name": "range",
|
||||
"in": "path"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Project to filter by",
|
||||
"name": "project",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Language to filter by",
|
||||
"name": "language",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Editor to filter by",
|
||||
"name": "editor",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "OS to filter by",
|
||||
"name": "operating_system",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Machine to filter by",
|
||||
"name": "machine",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Project label to filter by",
|
||||
"name": "label",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@ -380,6 +416,42 @@ var doc = `{
|
||||
"description": "End date (e.g. '2021-02-08')",
|
||||
"name": "end",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Project to filter by",
|
||||
"name": "project",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Language to filter by",
|
||||
"name": "language",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Editor to filter by",
|
||||
"name": "editor",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "OS to filter by",
|
||||
"name": "operating_system",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Machine to filter by",
|
||||
"name": "machine",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Project label to filter by",
|
||||
"name": "label",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@ -719,6 +791,42 @@ var doc = `{
|
||||
"description": "Whether to recompute the summary from raw heartbeat or use cache",
|
||||
"name": "recompute",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Project to filter by",
|
||||
"name": "project",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Language to filter by",
|
||||
"name": "language",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Editor to filter by",
|
||||
"name": "editor",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "OS to filter by",
|
||||
"name": "operating_system",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Machine to filter by",
|
||||
"name": "machine",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Project label to filter by",
|
||||
"name": "label",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
@ -298,6 +298,42 @@
|
||||
"description": "Range interval identifier",
|
||||
"name": "range",
|
||||
"in": "path"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Project to filter by",
|
||||
"name": "project",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Language to filter by",
|
||||
"name": "language",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Editor to filter by",
|
||||
"name": "editor",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "OS to filter by",
|
||||
"name": "operating_system",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Machine to filter by",
|
||||
"name": "machine",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Project label to filter by",
|
||||
"name": "label",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@ -365,6 +401,42 @@
|
||||
"description": "End date (e.g. '2021-02-08')",
|
||||
"name": "end",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Project to filter by",
|
||||
"name": "project",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Language to filter by",
|
||||
"name": "language",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Editor to filter by",
|
||||
"name": "editor",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "OS to filter by",
|
||||
"name": "operating_system",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Machine to filter by",
|
||||
"name": "machine",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Project label to filter by",
|
||||
"name": "label",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@ -704,6 +776,42 @@
|
||||
"description": "Whether to recompute the summary from raw heartbeat or use cache",
|
||||
"name": "recompute",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Project to filter by",
|
||||
"name": "project",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Language to filter by",
|
||||
"name": "language",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Editor to filter by",
|
||||
"name": "editor",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "OS to filter by",
|
||||
"name": "operating_system",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Machine to filter by",
|
||||
"name": "machine",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Project label to filter by",
|
||||
"name": "label",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
@ -536,6 +536,30 @@ paths:
|
||||
in: path
|
||||
name: range
|
||||
type: string
|
||||
- description: Project to filter by
|
||||
in: query
|
||||
name: project
|
||||
type: string
|
||||
- description: Language to filter by
|
||||
in: query
|
||||
name: language
|
||||
type: string
|
||||
- description: Editor to filter by
|
||||
in: query
|
||||
name: editor
|
||||
type: string
|
||||
- description: OS to filter by
|
||||
in: query
|
||||
name: operating_system
|
||||
type: string
|
||||
- description: Machine to filter by
|
||||
in: query
|
||||
name: machine
|
||||
type: string
|
||||
- description: Project label to filter by
|
||||
in: query
|
||||
name: label
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
@ -583,6 +607,30 @@ paths:
|
||||
in: query
|
||||
name: end
|
||||
type: string
|
||||
- description: Project to filter by
|
||||
in: query
|
||||
name: project
|
||||
type: string
|
||||
- description: Language to filter by
|
||||
in: query
|
||||
name: language
|
||||
type: string
|
||||
- description: Editor to filter by
|
||||
in: query
|
||||
name: editor
|
||||
type: string
|
||||
- description: OS to filter by
|
||||
in: query
|
||||
name: operating_system
|
||||
type: string
|
||||
- description: Machine to filter by
|
||||
in: query
|
||||
name: machine
|
||||
type: string
|
||||
- description: Project label to filter by
|
||||
in: query
|
||||
name: label
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
@ -804,6 +852,30 @@ paths:
|
||||
in: query
|
||||
name: recompute
|
||||
type: boolean
|
||||
- description: Project to filter by
|
||||
in: query
|
||||
name: project
|
||||
type: string
|
||||
- description: Language to filter by
|
||||
in: query
|
||||
name: language
|
||||
type: string
|
||||
- description: Editor to filter by
|
||||
in: query
|
||||
name: editor
|
||||
type: string
|
||||
- description: OS to filter by
|
||||
in: query
|
||||
name: operating_system
|
||||
type: string
|
||||
- description: Machine to filter by
|
||||
in: query
|
||||
name: machine
|
||||
type: string
|
||||
- description: Project label to filter by
|
||||
in: query
|
||||
name: label
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
|
Reference in New Issue
Block a user