ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix video privacy in rest api documentation
Chocobozzzee89e8fd1a0d
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yamlindex 787859c3bb..c1a9a3987b 100644--- a/support/doc/api/openapi.yaml+++ b/support/doc/api/openapi.yaml@@ -1026,7 +1026,7 @@ paths:description: Video preview filetype: stringprivacy:- $ref: '#/components/schemas/VideoPrivacy'+ $ref: '#/components/schemas/VideoPrivacySet'category:description: Video categorytype: string@@ -1130,7 +1130,7 @@ paths:description: Video preview filetype: stringprivacy:- $ref: '#/components/schemas/VideoPrivacy'+ $ref: '#/components/schemas/VideoPrivacySet'category:description: Video categorytype: string@@ -1824,12 +1824,23 @@ components:type: stringlabel:type: string- VideoPrivacy:- type: string+ VideoPrivacySet:+ type: integerenum:- - Public- - Unlisted- - Private+ - 1+ - 2+ - 3+ description: 'The video privacy (Public = 1, Unlisted = 2, Private = 3)'+ VideoPrivacyConstant:+ properties:+ id:+ type: integer+ enum:+ - 1+ - 2+ - 3+ label:+ type: stringVideo:properties:id:@@ -1849,7 +1860,7 @@ components:language:$ref: '#/components/schemas/VideoConstantString'privacy:- $ref: '#/components/schemas/VideoPrivacy'+ $ref: '#/components/schemas/VideoPrivacyConstant'description:type: stringduration: