ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix role documentation in rest api
Chocobozzz63d17405d0dd
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yamlindex 3c7688a7c8..21818ae818 100644--- a/support/doc/api/openapi.yaml+++ b/support/doc/api/openapi.yaml@@ -1966,6 +1966,13 @@ components:autoPlayVideo:type: booleanrole:+ type: integer+ enum:+ - 0+ - 1+ - 2+ description: 'The user role (Admin = 0, Moderator = 1, User = 2)'+ roleLabel:type: stringenum:- User@@ -2115,12 +2122,11 @@ components:description: 'The user daily video quota 'role:type: integer- format: int32enum:- 0- 1- 2- description: 'The user role '+ description: 'The user role (Admin = 0, Moderator = 1, User = 2)'required:- username- password@@ -2143,8 +2149,12 @@ components:type: stringdescription: 'The updated daily video quota of the user 'role:- type: string- description: 'The updated role of the user '+ type: integer+ enum:+ - 0+ - 1+ - 2+ description: 'The user role (Admin = 0, Moderator = 1, User = 2)'required:- id