Search channels
Live Test Server (live data - latest nightly version)
https://peertube2.cpy.re/api/v1
Live Test Server (live data - latest nightly version)
https://peertube2.cpy.re/api/v1
GET
/search/video-channels
Search
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://peertube2.cpy.re/api/v1/search/video-channels?search='
Response Response Example
200 - Example 1
{
"data": [
{
"description": "Videos made with <3 by Framasoft",
"displayName": "Videos of Framasoft",
"id": 42,
"isLocal": true,
"ownerAccount": {
"id": 0,
"uuid": "9c9de5e8-0a1e-484a-b099-e80766180a6d"
},
"support": "Please support our work on https://soutenir.framasoft.org/en/ <3",
"updatedAt": "2019-08-24T14:15:22Z",
"avatar": {
"createdAt": "2019-08-24T14:15:22Z",
"path": "string",
"updatedAt": "2019-08-24T14:15:22Z"
},
"createdAt": "2019-08-24T14:15:22Z",
"followersCount": 0,
"followingCount": 0,
"host": "example.com",
"hostRedundancyAllowed": true,
"name": "chocobozzz",
"url": "string"
}
],
"total": 1
}
Request
Query Params
search
stringÂ
required
start
integerÂ
optional
count
integerÂ
optional
searchTarget
stringÂ
optional
then reuse the search API to make a search using the object URI so PeerTube instance fetches the remote object and fill its database.
After that, you can use the classic REST API endpoints to fetch the complete object or interact with it
the data from the origin instance API
sort
stringÂ
optional
Responses
Modified at 2022-09-10 22:29:49