Add missing uuids search query doc
This commit is contained in:
parent
22926eafdb
commit
3299c9e124
|
@ -185,7 +185,7 @@ describe('Test ActivityPub video channels search', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should update video channel of server 2, and refresh it on server 1', async function () {
|
it('Should update video channel of server 2, and refresh it on server 1', async function () {
|
||||||
this.timeout(60000)
|
this.timeout(120000)
|
||||||
|
|
||||||
await servers[1].channels.update({
|
await servers[1].channels.update({
|
||||||
token: userServer2Token,
|
token: userServer2Token,
|
||||||
|
@ -211,7 +211,7 @@ describe('Test ActivityPub video channels search', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should update and add a video on server 2, and update it on server 1 after a search', async function () {
|
it('Should update and add a video on server 2, and update it on server 1 after a search', async function () {
|
||||||
this.timeout(60000)
|
this.timeout(120000)
|
||||||
|
|
||||||
await servers[1].videos.update({ token: userServer2Token, id: videoServer2UUID, attributes: { name: 'video 1 updated' } })
|
await servers[1].videos.update({ token: userServer2Token, id: videoServer2UUID, attributes: { name: 'video 1 updated' } })
|
||||||
await servers[1].videos.upload({ token: userServer2Token, attributes: { name: 'video 2 server 2', channelId: channelIdServer2 } })
|
await servers[1].videos.upload({ token: userServer2Token, attributes: { name: 'video 2 server 2', channelId: channelIdServer2 } })
|
||||||
|
@ -235,7 +235,7 @@ describe('Test ActivityPub video channels search', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should delete video channel of server 2, and delete it on server 1', async function () {
|
it('Should delete video channel of server 2, and delete it on server 1', async function () {
|
||||||
this.timeout(60000)
|
this.timeout(120000)
|
||||||
|
|
||||||
await servers[1].channels.delete({ token: userServer2Token, channelName: 'channel1_server2' })
|
await servers[1].channels.delete({ token: userServer2Token, channelName: 'channel1_server2' })
|
||||||
|
|
||||||
|
|
|
@ -4477,6 +4477,7 @@ paths:
|
||||||
- $ref: '#/components/parameters/isLocal'
|
- $ref: '#/components/parameters/isLocal'
|
||||||
- $ref: '#/components/parameters/include'
|
- $ref: '#/components/parameters/include'
|
||||||
- $ref: '#/components/parameters/privacyOneOf'
|
- $ref: '#/components/parameters/privacyOneOf'
|
||||||
|
- $ref: '#/components/parameters/uuids'
|
||||||
- $ref: '#/components/parameters/hasHLSFiles'
|
- $ref: '#/components/parameters/hasHLSFiles'
|
||||||
- $ref: '#/components/parameters/hasWebtorrentFiles'
|
- $ref: '#/components/parameters/hasWebtorrentFiles'
|
||||||
- $ref: '#/components/parameters/skipCount'
|
- $ref: '#/components/parameters/skipCount'
|
||||||
|
@ -5606,6 +5607,14 @@ components:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/VideoPrivacySet'
|
$ref: '#/components/schemas/VideoPrivacySet'
|
||||||
description: '**PeerTube >= 4.0** Display only videos in this specific privacy/privacies'
|
description: '**PeerTube >= 4.0** Display only videos in this specific privacy/privacies'
|
||||||
|
uuids:
|
||||||
|
name: uuids
|
||||||
|
in: query
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
description: 'Find videos with specific UUIDs'
|
||||||
include:
|
include:
|
||||||
name: include
|
name: include
|
||||||
in: query
|
in: query
|
||||||
|
|
Loading…
Reference in New Issue