aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/tests/api/search/search-activitypub-video-channels.ts6
-rw-r--r--support/doc/api/openapi.yaml9
2 files changed, 12 insertions, 3 deletions
diff --git a/server/tests/api/search/search-activitypub-video-channels.ts b/server/tests/api/search/search-activitypub-video-channels.ts
index 06a206d21..8173c8b60 100644
--- a/server/tests/api/search/search-activitypub-video-channels.ts
+++ b/server/tests/api/search/search-activitypub-video-channels.ts
@@ -185,7 +185,7 @@ describe('Test ActivityPub video channels search', function () {
185 }) 185 })
186 186
187 it('Should update video channel of server 2, and refresh it on server 1', async function () { 187 it('Should update video channel of server 2, and refresh it on server 1', async function () {
188 this.timeout(60000) 188 this.timeout(120000)
189 189
190 await servers[1].channels.update({ 190 await servers[1].channels.update({
191 token: userServer2Token, 191 token: userServer2Token,
@@ -211,7 +211,7 @@ describe('Test ActivityPub video channels search', function () {
211 }) 211 })
212 212
213 it('Should update and add a video on server 2, and update it on server 1 after a search', async function () { 213 it('Should update and add a video on server 2, and update it on server 1 after a search', async function () {
214 this.timeout(60000) 214 this.timeout(120000)
215 215
216 await servers[1].videos.update({ token: userServer2Token, id: videoServer2UUID, attributes: { name: 'video 1 updated' } }) 216 await servers[1].videos.update({ token: userServer2Token, id: videoServer2UUID, attributes: { name: 'video 1 updated' } })
217 await servers[1].videos.upload({ token: userServer2Token, attributes: { name: 'video 2 server 2', channelId: channelIdServer2 } }) 217 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 () {
235 }) 235 })
236 236
237 it('Should delete video channel of server 2, and delete it on server 1', async function () { 237 it('Should delete video channel of server 2, and delete it on server 1', async function () {
238 this.timeout(60000) 238 this.timeout(120000)
239 239
240 await servers[1].channels.delete({ token: userServer2Token, channelName: 'channel1_server2' }) 240 await servers[1].channels.delete({ token: userServer2Token, channelName: 'channel1_server2' })
241 241
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 69a6eff72..2062f2e3a 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -4477,6 +4477,7 @@ paths:
4477 - $ref: '#/components/parameters/isLocal' 4477 - $ref: '#/components/parameters/isLocal'
4478 - $ref: '#/components/parameters/include' 4478 - $ref: '#/components/parameters/include'
4479 - $ref: '#/components/parameters/privacyOneOf' 4479 - $ref: '#/components/parameters/privacyOneOf'
4480 - $ref: '#/components/parameters/uuids'
4480 - $ref: '#/components/parameters/hasHLSFiles' 4481 - $ref: '#/components/parameters/hasHLSFiles'
4481 - $ref: '#/components/parameters/hasWebtorrentFiles' 4482 - $ref: '#/components/parameters/hasWebtorrentFiles'
4482 - $ref: '#/components/parameters/skipCount' 4483 - $ref: '#/components/parameters/skipCount'
@@ -5606,6 +5607,14 @@ components:
5606 schema: 5607 schema:
5607 $ref: '#/components/schemas/VideoPrivacySet' 5608 $ref: '#/components/schemas/VideoPrivacySet'
5608 description: '**PeerTube >= 4.0** Display only videos in this specific privacy/privacies' 5609 description: '**PeerTube >= 4.0** Display only videos in this specific privacy/privacies'
5610 uuids:
5611 name: uuids
5612 in: query
5613 required: false
5614 schema:
5615 items:
5616 type: string
5617 description: 'Find videos with specific UUIDs'
5609 include: 5618 include:
5610 name: include 5619 name: include
5611 in: query 5620 in: query