diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-11-21 01:02:47 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2018-11-21 11:52:30 +0100 |
commit | 0f49023061c8c60a609ebf96871b925c90235c08 (patch) | |
tree | 5f649905ba29fabc4473b0966c168d7129c3b985 /support/doc/api/openapi.yaml | |
parent | 31d45e0e0bbb9ab8ddca47af4e2d1d2905c938b3 (diff) | |
download | PeerTube-0f49023061c8c60a609ebf96871b925c90235c08.tar.gz PeerTube-0f49023061c8c60a609ebf96871b925c90235c08.tar.zst PeerTube-0f49023061c8c60a609ebf96871b925c90235c08.zip |
make POST /users have integer role enum
Diffstat (limited to 'support/doc/api/openapi.yaml')
-rw-r--r-- | support/doc/api/openapi.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index aa6be7e87..f0c0b46b1 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -1741,7 +1741,12 @@ components: | |||
1741 | type: string | 1741 | type: string |
1742 | description: 'The user videoQuota ' | 1742 | description: 'The user videoQuota ' |
1743 | role: | 1743 | role: |
1744 | type: string | 1744 | type: integer |
1745 | format: int32 | ||
1746 | enum: | ||
1747 | - 0 | ||
1748 | - 1 | ||
1749 | - 2 | ||
1745 | description: 'The user role ' | 1750 | description: 'The user role ' |
1746 | required: | 1751 | required: |
1747 | - username | 1752 | - username |