diff options
Diffstat (limited to 'support/doc/api/openapi.yaml')
-rw-r--r-- | support/doc/api/openapi.yaml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index af829cc62..aa6be7e87 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -101,14 +101,13 @@ x-tagGroups: | |||
101 | - Video | 101 | - Video |
102 | - Video Channel | 102 | - Video Channel |
103 | - Video Comment | 103 | - Video Comment |
104 | - Video Abuse | ||
105 | - Video Following | 104 | - Video Following |
106 | - Video Rate | 105 | - Video Rate |
107 | - name: Moderation | 106 | - name: Moderation |
108 | tags: | 107 | tags: |
109 | - Video Abuse | 108 | - Video Abuse |
110 | - Video Blacklist | 109 | - Video Blacklist |
111 | - name: Public Instance Information | 110 | - name: Instance Configuration |
112 | tags: | 111 | tags: |
113 | - Config | 112 | - Config |
114 | - Server Following | 113 | - Server Following |
@@ -301,7 +300,7 @@ paths: | |||
301 | responses: | 300 | responses: |
302 | '200': | 301 | '200': |
303 | description: successful operation | 302 | description: successful operation |
304 | /jobs: | 303 | /jobs/{state}: |
305 | get: | 304 | get: |
306 | summary: Get list of jobs | 305 | summary: Get list of jobs |
307 | security: | 306 | security: |
@@ -316,6 +315,12 @@ paths: | |||
316 | description: The state of the job | 315 | description: The state of the job |
317 | schema: | 316 | schema: |
318 | type: string | 317 | type: string |
318 | enum: | ||
319 | - active | ||
320 | - completed | ||
321 | - failed | ||
322 | - waiting | ||
323 | - delayed | ||
319 | - $ref: '#/components/parameters/start' | 324 | - $ref: '#/components/parameters/start' |
320 | - $ref: '#/components/parameters/count' | 325 | - $ref: '#/components/parameters/count' |
321 | - $ref: '#/components/parameters/sort' | 326 | - $ref: '#/components/parameters/sort' |