diff options
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/api/openapi.yaml | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index ba420b4a9..c06bffb0a 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -356,15 +356,17 @@ paths: | |||
356 | - name: state | 356 | - name: state |
357 | in: path | 357 | in: path |
358 | required: true | 358 | required: true |
359 | description: The state of the job | 359 | description: The state of the job ('' for for no filter) |
360 | schema: | 360 | schema: |
361 | type: string | 361 | type: string |
362 | enum: | 362 | enum: |
363 | - '' | ||
363 | - active | 364 | - active |
364 | - completed | 365 | - completed |
365 | - failed | 366 | - failed |
366 | - waiting | 367 | - waiting |
367 | - delayed | 368 | - delayed |
369 | - $ref: '#/components/parameters/jobType' | ||
368 | - $ref: '#/components/parameters/start' | 370 | - $ref: '#/components/parameters/start' |
369 | - $ref: '#/components/parameters/count' | 371 | - $ref: '#/components/parameters/count' |
370 | - $ref: '#/components/parameters/sort' | 372 | - $ref: '#/components/parameters/sort' |
@@ -3780,6 +3782,26 @@ components: | |||
3780 | schema: | 3782 | schema: |
3781 | type: string | 3783 | type: string |
3782 | example: peertube-plugin-auth-ldap | 3784 | example: peertube-plugin-auth-ldap |
3785 | jobType: | ||
3786 | name: jobType | ||
3787 | in: query | ||
3788 | required: false | ||
3789 | description: job type | ||
3790 | schema: | ||
3791 | type: string | ||
3792 | enum: | ||
3793 | - activitypub-follow | ||
3794 | - activitypub-http-broadcast | ||
3795 | - activitypub-http-fetcher | ||
3796 | - activitypub-http-unicast | ||
3797 | |||
3798 | - video-transcoding | ||
3799 | - video-file-import | ||
3800 | - video-import | ||
3801 | - videos-views | ||
3802 | - activitypub-refresher | ||
3803 | - video-redundancy | ||
3804 | - video-live-ending | ||
3783 | securitySchemes: | 3805 | securitySchemes: |
3784 | OAuth2: | 3806 | OAuth2: |
3785 | description: > | 3807 | description: > |