Fix role documentation in rest api
This commit is contained in:
parent
46e9407c60
commit
63d17405d0
|
@ -1966,6 +1966,13 @@ components:
|
||||||
autoPlayVideo:
|
autoPlayVideo:
|
||||||
type: boolean
|
type: boolean
|
||||||
role:
|
role:
|
||||||
|
type: integer
|
||||||
|
enum:
|
||||||
|
- 0
|
||||||
|
- 1
|
||||||
|
- 2
|
||||||
|
description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
|
||||||
|
roleLabel:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
- User
|
- User
|
||||||
|
@ -2115,12 +2122,11 @@ components:
|
||||||
description: 'The user daily video quota '
|
description: 'The user daily video quota '
|
||||||
role:
|
role:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
|
||||||
enum:
|
enum:
|
||||||
- 0
|
- 0
|
||||||
- 1
|
- 1
|
||||||
- 2
|
- 2
|
||||||
description: 'The user role '
|
description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
|
||||||
required:
|
required:
|
||||||
- username
|
- username
|
||||||
- password
|
- password
|
||||||
|
@ -2143,8 +2149,12 @@ components:
|
||||||
type: string
|
type: string
|
||||||
description: 'The updated daily video quota of the user '
|
description: 'The updated daily video quota of the user '
|
||||||
role:
|
role:
|
||||||
type: string
|
type: integer
|
||||||
description: 'The updated role of the user '
|
enum:
|
||||||
|
- 0
|
||||||
|
- 1
|
||||||
|
- 2
|
||||||
|
description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
- email
|
- email
|
||||||
|
|
Loading…
Reference in New Issue