aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/api/openapi.yaml18
1 files changed, 14 insertions, 4 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 3c7688a7c..21818ae81 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -1966,6 +1966,13 @@ components:
1966 autoPlayVideo: 1966 autoPlayVideo:
1967 type: boolean 1967 type: boolean
1968 role: 1968 role:
1969 type: integer
1970 enum:
1971 - 0
1972 - 1
1973 - 2
1974 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
1975 roleLabel:
1969 type: string 1976 type: string
1970 enum: 1977 enum:
1971 - User 1978 - User
@@ -2115,12 +2122,11 @@ components:
2115 description: 'The user daily video quota ' 2122 description: 'The user daily video quota '
2116 role: 2123 role:
2117 type: integer 2124 type: integer
2118 format: int32
2119 enum: 2125 enum:
2120 - 0 2126 - 0
2121 - 1 2127 - 1
2122 - 2 2128 - 2
2123 description: 'The user role ' 2129 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2124 required: 2130 required:
2125 - username 2131 - username
2126 - password 2132 - password
@@ -2143,8 +2149,12 @@ components:
2143 type: string 2149 type: string
2144 description: 'The updated daily video quota of the user ' 2150 description: 'The updated daily video quota of the user '
2145 role: 2151 role:
2146 type: string 2152 type: integer
2147 description: 'The updated role of the user ' 2153 enum:
2154 - 0
2155 - 1
2156 - 2
2157 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2148 required: 2158 required:
2149 - id 2159 - id
2150 - email 2160 - email