aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-06-24 15:13:24 +0200
committerRigel Kent <sendmemail@rigelk.eu>2020-06-24 15:13:24 +0200
commitd73810bede066213a26f40625f353971a53ea5ea (patch)
tree2c2d00e4236dd79ce4dfee3b1ec61db8b7aa1637
parent06746a8b253a8824478d2e3b55597afa39b3318b (diff)
downloadPeerTube-d73810bede066213a26f40625f353971a53ea5ea.tar.gz
PeerTube-d73810bede066213a26f40625f353971a53ea5ea.tar.zst
PeerTube-d73810bede066213a26f40625f353971a53ea5ea.zip
fix openapi path for feeds examples
-rw-r--r--support/doc/api/openapi.yaml30
1 files changed, 21 insertions, 9 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 1dc7a4321..ac44cf91d 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -91,11 +91,10 @@ tags:
91 and/or channels. 91 and/or channels.
92 - name: Video Channels 92 - name: Video Channels
93 description: > 93 description: >
94 Operations dealing with creation, modification and video listing of a 94 Operations dealing with the creation, modification and listing of videos within a channel.
95 user's channels.
96 - name: Video Blocks 95 - name: Video Blocks
97 description: > 96 description: >
98 Operations dealing with blacklisting videos (removing them from view and 97 Operations dealing with blocking videos (removing them from view and
99 preventing interactions). 98 preventing interactions).
100 - name: Video Rates 99 - name: Video Rates
101 description: > 100 description: >
@@ -116,7 +115,6 @@ x-tagGroups:
116 - Video Caption 115 - Video Caption
117 - Video Channels 116 - Video Channels
118 - Video Comments 117 - Video Comments
119 - Video Following
120 - Video Rates 118 - Video Rates
121 - Video Playlists 119 - Video Playlists
122 - Video Ownership Change 120 - Video Ownership Change
@@ -2245,6 +2243,13 @@ paths:
2245 tags: 2243 tags:
2246 - Feeds 2244 - Feeds
2247 summary: List comments on videos 2245 summary: List comments on videos
2246 servers:
2247 - url: 'https://peertube.cpy.re'
2248 description: Live Test Server (live data - stable version)
2249 - url: 'https://peertube2.cpy.re'
2250 description: Live Test Server (live data - latest nighlty version)
2251 - url: 'https://peertube3.cpy.re'
2252 description: Live Test Server (live data - latest RC version)
2248 parameters: 2253 parameters:
2249 - name: format 2254 - name: format
2250 in: path 2255 in: path
@@ -2261,7 +2266,7 @@ paths:
2261 - json 2266 - json
2262 - json1 2267 - json1
2263 - name: videoId 2268 - name: videoId
2264 in: path 2269 in: query
2265 description: 'limit listing to a specific video' 2270 description: 'limit listing to a specific video'
2266 schema: 2271 schema:
2267 type: string 2272 type: string
@@ -2296,6 +2301,13 @@ paths:
2296 tags: 2301 tags:
2297 - Feeds 2302 - Feeds
2298 summary: List videos 2303 summary: List videos
2304 servers:
2305 - url: 'https://peertube.cpy.re'
2306 description: Live Test Server (live data - stable version)
2307 - url: 'https://peertube2.cpy.re'
2308 description: Live Test Server (live data - latest nighlty version)
2309 - url: 'https://peertube3.cpy.re'
2310 description: Live Test Server (live data - latest RC version)
2299 parameters: 2311 parameters:
2300 - name: format 2312 - name: format
2301 in: path 2313 in: path
@@ -2312,22 +2324,22 @@ paths:
2312 - json 2324 - json
2313 - json1 2325 - json1
2314 - name: accountId 2326 - name: accountId
2315 in: path 2327 in: query
2316 description: 'limit listing to a specific account' 2328 description: 'limit listing to a specific account'
2317 schema: 2329 schema:
2318 type: string 2330 type: string
2319 - name: accountName 2331 - name: accountName
2320 in: path 2332 in: query
2321 description: 'limit listing to a specific account' 2333 description: 'limit listing to a specific account'
2322 schema: 2334 schema:
2323 type: string 2335 type: string
2324 - name: videoChannelId 2336 - name: videoChannelId
2325 in: path 2337 in: query
2326 description: 'limit listing to a specific video channel' 2338 description: 'limit listing to a specific video channel'
2327 schema: 2339 schema:
2328 type: string 2340 type: string
2329 - name: videoChannelName 2341 - name: videoChannelName
2330 in: path 2342 in: query
2331 description: 'limit listing to a specific video channel' 2343 description: 'limit listing to a specific video channel'
2332 schema: 2344 schema:
2333 type: string 2345 type: string