ActivityPub-federated video streaming platform using P2P directly in your web browser
Update search REST API doc
Chocobozzzb7e07bde8cce
diff --git a/server/core/helpers/query.ts b/server/core/helpers/query.tsindex 7bd63f40e3..881046b5f2 100644--- a/server/core/helpers/query.ts+++ b/server/core/helpers/query.ts@@ -43,8 +43,7 @@ function pickSearchVideoQuery (query: VideosSearchQueryAfterSanitize) {'originallyPublishedEndDate','durationMin','durationMax',- 'uuids',- 'excludeAlreadyWatched'+ 'uuids'])}}diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yamlindex 3751d55034..afacfd48f7 100644--- a/support/doc/api/openapi.yaml+++ b/support/doc/api/openapi.yaml@@ -5321,6 +5321,7 @@ paths:get:tags:- Search+ - Videosummary: Search videosoperationId: searchVideosparameters:@@ -5353,6 +5354,7 @@ paths:- $ref: '#/components/parameters/searchTarget'- $ref: '#/components/parameters/videosSearchSort'- $ref: '#/components/parameters/excludeAlreadyWatched'+ - $ref: '#/components/parameters/host'- name: startDatein: querydescription: Get videos that are published after this date@@ -5404,6 +5406,7 @@ paths:get:tags:- Search+ - Video Channelssummary: Search channelsoperationId: searchChannelsparameters:@@ -5420,6 +5423,8 @@ paths:- $ref: '#/components/parameters/count'- $ref: '#/components/parameters/searchTarget'- $ref: '#/components/parameters/sort'+ - $ref: '#/components/parameters/host'+ - $ref: '#/components/parameters/handles'callbacks:'searchTarget === search-index':$ref: '#/components/callbacks/searchIndex'@@ -5437,6 +5442,7 @@ paths:get:tags:- Search+ - Video Playlistssummary: Search playlistsoperationId: searchPlaylistsparameters:@@ -5453,6 +5459,8 @@ paths:- $ref: '#/components/parameters/count'- $ref: '#/components/parameters/searchTarget'- $ref: '#/components/parameters/sort'+ - $ref: '#/components/parameters/host'+ - $ref: '#/components/parameters/uuids'callbacks:'searchTarget === search-index':$ref: '#/components/callbacks/searchIndex'@@ -6993,7 +7001,22 @@ components:schema:items:type: string- description: 'Find videos with specific UUIDs'+ description: 'Find elements with specific UUIDs'+ host:+ name: host+ in: query+ required: false+ schema:+ type: string+ description: 'Find elements owned by this host'+ handles:+ name: handles+ in: query+ required: false+ schema:+ items:+ type: string+ description: 'Find elements with these handles'include:name: includein: query