aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api/openapi.yaml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-07-07 14:34:16 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-07-10 14:02:41 +0200
commit4f32032fed8587ea97d45e235b167e8958efd81f (patch)
tree6ec4ce2d5d05a275fb7eeaf3aee33c2b69ebc043 /support/doc/api/openapi.yaml
parent57f6896f67cfc570cf3605dd94b0778101b2d9b9 (diff)
downloadPeerTube-4f32032fed8587ea97d45e235b167e8958efd81f.tar.gz
PeerTube-4f32032fed8587ea97d45e235b167e8958efd81f.tar.zst
PeerTube-4f32032fed8587ea97d45e235b167e8958efd81f.zip
Add migrations
Diffstat (limited to 'support/doc/api/openapi.yaml')
-rw-r--r--support/doc/api/openapi.yaml22
1 files changed, 11 insertions, 11 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 79f75063f..03e60925b 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -893,7 +893,7 @@ paths:
893 $ref: '#/components/schemas/NotificationSettingValue' 893 $ref: '#/components/schemas/NotificationSettingValue'
894 newCommentOnMyVideo: 894 newCommentOnMyVideo:
895 $ref: '#/components/schemas/NotificationSettingValue' 895 $ref: '#/components/schemas/NotificationSettingValue'
896 videoAbuseAsModerator: 896 abuseAsModerator:
897 $ref: '#/components/schemas/NotificationSettingValue' 897 $ref: '#/components/schemas/NotificationSettingValue'
898 videoAutoBlacklistAsModerator: 898 videoAutoBlacklistAsModerator:
899 $ref: '#/components/schemas/NotificationSettingValue' 899 $ref: '#/components/schemas/NotificationSettingValue'
@@ -1618,7 +1618,7 @@ paths:
1618 type: object 1618 type: object
1619 properties: 1619 properties:
1620 state: 1620 state:
1621 $ref: '#/components/schemas/VideoAbuseStateSet' 1621 $ref: '#/components/schemas/AbuseStateSet'
1622 moderationComment: 1622 moderationComment:
1623 type: string 1623 type: string
1624 description: Update the report comment visible only to the moderation team 1624 description: Update the report comment visible only to the moderation team
@@ -3584,20 +3584,20 @@ components:
3584 label: 3584 label:
3585 type: string 3585 type: string
3586 3586
3587 VideoAbuseStateSet: 3587 AbuseStateSet:
3588 type: integer 3588 type: integer
3589 enum: 3589 enum:
3590 - 1 3590 - 1
3591 - 2 3591 - 2
3592 - 3 3592 - 3
3593 description: 'The video playlist privacy (Pending = `1`, Rejected = `2`, Accepted = `3`)' 3593 description: 'The video playlist privacy (Pending = `1`, Rejected = `2`, Accepted = `3`)'
3594 VideoAbuseStateConstant: 3594 AbuseStateConstant:
3595 properties: 3595 properties:
3596 id: 3596 id:
3597 $ref: '#/components/schemas/VideoAbuseStateSet' 3597 $ref: '#/components/schemas/AbuseStateSet'
3598 label: 3598 label:
3599 type: string 3599 type: string
3600 VideoAbusePredefinedReasons: 3600 AbusePredefinedReasons:
3601 type: array 3601 type: array
3602 items: 3602 items:
3603 type: string 3603 type: string
@@ -3960,11 +3960,11 @@ components:
3960 type: string 3960 type: string
3961 example: The video is a spam 3961 example: The video is a spam
3962 predefinedReasons: 3962 predefinedReasons:
3963 $ref: '#/components/schemas/VideoAbusePredefinedReasons' 3963 $ref: '#/components/schemas/AbusePredefinedReasons'
3964 reporterAccount: 3964 reporterAccount:
3965 $ref: '#/components/schemas/Account' 3965 $ref: '#/components/schemas/Account'
3966 state: 3966 state:
3967 $ref: '#/components/schemas/VideoAbuseStateConstant' 3967 $ref: '#/components/schemas/AbuseStateConstant'
3968 moderationComment: 3968 moderationComment:
3969 type: string 3969 type: string
3970 example: Decided to ban the server since it spams us regularly 3970 example: Decided to ban the server since it spams us regularly
@@ -4690,11 +4690,11 @@ components:
4690 description: The user daily video quota 4690 description: The user daily video quota
4691 videosCount: 4691 videosCount:
4692 type: integer 4692 type: integer
4693 videoAbusesCount: 4693 abusesCount:
4694 type: integer 4694 type: integer
4695 videoAbusesAcceptedCount: 4695 abusesAcceptedCount:
4696 type: integer 4696 type: integer
4697 videoAbusesCreatedCount: 4697 abusesCreatedCount:
4698 type: integer 4698 type: integer
4699 videoCommentsCount: 4699 videoCommentsCount:
4700 type: integer 4700 type: integer