aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api/openapi.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc/api/openapi.yaml')
-rw-r--r--support/doc/api/openapi.yaml69
1 files changed, 22 insertions, 47 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 56941031b..46b73145a 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -1017,27 +1017,6 @@ paths:
1017 type: array 1017 type: array
1018 items: 1018 items:
1019 $ref: '#/definitions/VideoChannel' 1019 $ref: '#/definitions/VideoChannel'
1020 /accounts/{accountId}/video-channels:
1021 get:
1022 tags:
1023 - VideoChannel
1024 consumes:
1025 - application/json
1026 produces:
1027 - application/json
1028 parameters:
1029 - name: accountId
1030 in: path
1031 required: true
1032 type: string
1033 description: 'The account id '
1034 responses:
1035 '200':
1036 description: successful operation
1037 schema:
1038 type: array
1039 items:
1040 $ref: '#/definitions/VideoChannel'
1041 post: 1020 post:
1042 security: 1021 security:
1043 - OAuth2: [ ] 1022 - OAuth2: [ ]
@@ -1048,11 +1027,6 @@ paths:
1048 produces: 1027 produces:
1049 - application/json 1028 - application/json
1050 parameters: 1029 parameters:
1051 - name: accountId
1052 in: path
1053 required: true
1054 type: string
1055 description: 'The account id '
1056 - in: body 1030 - in: body
1057 name: body 1031 name: body
1058 schema: 1032 schema:
@@ -1060,7 +1034,7 @@ paths:
1060 responses: 1034 responses:
1061 '204': 1035 '204':
1062 description: successful operation 1036 description: successful operation
1063 "/account/{accountId}/video-channels/{id}": 1037 "/video-channels/{id}":
1064 get: 1038 get:
1065 tags: 1039 tags:
1066 - VideoChannel 1040 - VideoChannel
@@ -1069,11 +1043,6 @@ paths:
1069 produces: 1043 produces:
1070 - application/json 1044 - application/json
1071 parameters: 1045 parameters:
1072 - name: accountId
1073 in: path
1074 required: true
1075 type: string
1076 description: 'The account id '
1077 - name: id 1046 - name: id
1078 in: path 1047 in: path
1079 required: true 1048 required: true
@@ -1094,11 +1063,6 @@ paths:
1094 produces: 1063 produces:
1095 - application/json 1064 - application/json
1096 parameters: 1065 parameters:
1097 - name: accountId
1098 in: path
1099 required: true
1100 type: string
1101 description: 'The account id '
1102 - name: id 1066 - name: id
1103 in: path 1067 in: path
1104 required: true 1068 required: true
@@ -1121,20 +1085,34 @@ paths:
1121 produces: 1085 produces:
1122 - application/json 1086 - application/json
1123 parameters: 1087 parameters:
1124 - name: accountId 1088 - name: id
1125 in: path 1089 in: path
1126 required: true 1090 required: true
1127 type: string 1091 type: string
1128 description: 'The account id ' 1092 description: 'The video channel id '
1093 responses:
1094 '204':
1095 description: successful operation
1096 "/video-channels/{id}/videos":
1097 get:
1098 tags:
1099 - VideoChannel
1100 consumes:
1101 - application/json
1102 produces:
1103 - application/json
1104 parameters:
1129 - name: id 1105 - name: id
1130 in: path 1106 in: path
1131 required: true 1107 required: true
1132 type: string 1108 type: string
1133 description: 'The video channel id ' 1109 description: 'The video channel id '
1134 responses: 1110 responses:
1135 '204': 1111 '200':
1136 description: successful operation 1112 description: successful operation
1137 "/account/{accountId}/video-channels/{id}/videos": 1113 schema:
1114 $ref: '#/definitions/Video'
1115 /accounts/{accountId}/video-channels:
1138 get: 1116 get:
1139 tags: 1117 tags:
1140 - VideoChannel 1118 - VideoChannel
@@ -1148,16 +1126,13 @@ paths:
1148 required: true 1126 required: true
1149 type: string 1127 type: string
1150 description: 'The account id ' 1128 description: 'The account id '
1151 - name: id
1152 in: path
1153 required: true
1154 type: string
1155 description: 'The video channel id '
1156 responses: 1129 responses:
1157 '200': 1130 '200':
1158 description: successful operation 1131 description: successful operation
1159 schema: 1132 schema:
1160 $ref: '#/definitions/Video' 1133 type: array
1134 items:
1135 $ref: '#/definitions/VideoChannel'
1161 "/videos/{videoId}/comment-threads": 1136 "/videos/{videoId}/comment-threads":
1162 get: 1137 get:
1163 tags: 1138 tags: