1
0
Fork 0

fix openapi path for feeds examples

This commit is contained in:
Rigel Kent 2020-06-24 15:13:24 +02:00
parent 06746a8b25
commit d73810bede
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
1 changed files with 21 additions and 9 deletions

View File

@ -91,11 +91,10 @@ tags:
and/or channels. and/or channels.
- name: Video Channels - name: Video Channels
description: > description: >
Operations dealing with creation, modification and video listing of a Operations dealing with the creation, modification and listing of videos within a channel.
user's channels.
- name: Video Blocks - name: Video Blocks
description: > description: >
Operations dealing with blacklisting videos (removing them from view and Operations dealing with blocking videos (removing them from view and
preventing interactions). preventing interactions).
- name: Video Rates - name: Video Rates
description: > description: >
@ -116,7 +115,6 @@ x-tagGroups:
- Video Caption - Video Caption
- Video Channels - Video Channels
- Video Comments - Video Comments
- Video Following
- Video Rates - Video Rates
- Video Playlists - Video Playlists
- Video Ownership Change - Video Ownership Change
@ -2245,6 +2243,13 @@ paths:
tags: tags:
- Feeds - Feeds
summary: List comments on videos summary: List comments on videos
servers:
- url: 'https://peertube.cpy.re'
description: Live Test Server (live data - stable version)
- url: 'https://peertube2.cpy.re'
description: Live Test Server (live data - latest nighlty version)
- url: 'https://peertube3.cpy.re'
description: Live Test Server (live data - latest RC version)
parameters: parameters:
- name: format - name: format
in: path in: path
@ -2261,7 +2266,7 @@ paths:
- json - json
- json1 - json1
- name: videoId - name: videoId
in: path in: query
description: 'limit listing to a specific video' description: 'limit listing to a specific video'
schema: schema:
type: string type: string
@ -2296,6 +2301,13 @@ paths:
tags: tags:
- Feeds - Feeds
summary: List videos summary: List videos
servers:
- url: 'https://peertube.cpy.re'
description: Live Test Server (live data - stable version)
- url: 'https://peertube2.cpy.re'
description: Live Test Server (live data - latest nighlty version)
- url: 'https://peertube3.cpy.re'
description: Live Test Server (live data - latest RC version)
parameters: parameters:
- name: format - name: format
in: path in: path
@ -2312,22 +2324,22 @@ paths:
- json - json
- json1 - json1
- name: accountId - name: accountId
in: path in: query
description: 'limit listing to a specific account' description: 'limit listing to a specific account'
schema: schema:
type: string type: string
- name: accountName - name: accountName
in: path in: query
description: 'limit listing to a specific account' description: 'limit listing to a specific account'
schema: schema:
type: string type: string
- name: videoChannelId - name: videoChannelId
in: path in: query
description: 'limit listing to a specific video channel' description: 'limit listing to a specific video channel'
schema: schema:
type: string type: string
- name: videoChannelName - name: videoChannelName
in: path in: query
description: 'limit listing to a specific video channel' description: 'limit listing to a specific video channel'
schema: schema:
type: string type: string