PeerTube Video Channels API

Operations dealing with the creation, modification and listing of videos within a channel.

GitHub OpenAPI

Operations 23

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/video-channels List video channels · List video channels #
Ask an LLM
“Which video channels exist on PeerTube?”
“Can I sort the list of channels?”
Tell an agent
List all video channels.
List channels sorted by {sort}.
POST /api/v1/video-channels Create a video channel · Create a video channel #
Ask an LLM
“How do I create a new video channel?”
“Can I set a display name and support text when creating a channel?”
Tell an agent
Create a video channel named {name}.
Create channel {name} with display name {displayName} and support text {support}.
GET /api/v1/video-channels/{channelHandle} Get a video channel · Get a video channel #
Ask an LLM
“What are the details of one video channel?”
“Can I look up a channel by its handle?”
Tell an agent
Get video channel {channelHandle}.
Show the details of channel {channelHandle}.
PUT /api/v1/video-channels/{channelHandle} Update a video channel · Update a video channel #
Ask an LLM
“How do I rename or edit a video channel?”
“Can I update the support text for all videos in a channel at once?”
Tell an agent
Rename video channel {channelHandle} to {displayName}.
Set the support text of channel {channelHandle} to {support}.
DELETE /api/v1/video-channels/{channelHandle} Delete a video channel · Delete a video channel #
Ask an LLM
“How do I delete a video channel?”
“Can I remove a channel I no longer run?”
Tell an agent destructive · confirm first
Delete video channel {channelHandle}.
Remove the channel {channelHandle} permanently.
GET /api/v1/video-channels/{channelHandle}/videos List a channel's videos · List videos of a video channel #
Ask an LLM
“What videos does a channel have?”
“Can I list only a channel's live videos or videos with a tag?”
Tell an agent
List the videos of channel {channelHandle}.
Show {count} videos from channel {channelHandle} matching {search}.
GET /api/v1/video-channels/{channelHandle}/activities List a channel's activity feed · List activities of a video channel #
Ask an LLM
“What has happened on a channel recently?”
“Can I see the activity feed of a video channel?”
Tell an agent
Show the activity feed of channel {channelHandle}.
List {count} recent activities for channel {channelHandle}.
GET /api/v1/video-channels/{channelHandle}/video-playlists List a channel's playlists · List playlists of a channel #
Ask an LLM
“Which playlists belong to a channel?”
“Can I list only the playlists of a certain type?”
Tell an agent
List the playlists of channel {channelHandle}.
Show playlists of type {playlistType} for channel {channelHandle}.
POST /api/v1/video-channels/{channelHandle}/video-playlists/reorder Reorder a channel's playlists · Reorder channel playlists #
Ask an LLM
“How do I change the order of a channel's playlists?”
“Can I move a playlist to a new position?”
Tell an agent
Move the playlist at position {startPosition} of channel {channelHandle} to after position {insertAfterPosition}.
Reorder {reorderLength} playlists starting at {startPosition} in channel {channelHandle} to after {insertAfterPosition}.
GET /api/v1/video-channels/{channelHandle}/followers List a channel's followers · List followers of a video channel #
Ask an LLM
“Who follows a particular video channel?”
“Can I search a channel's followers by name?”
Tell an agent
List the followers of channel {channelHandle}.
Show {count} followers of channel {channelHandle} matching {search}.
POST /api/v1/video-channels/{channelHandle}/avatar/pick Set a channel's avatar · Update channel avatar #
Ask an LLM
“How do I upload an avatar image for a channel?”
“Can I pick an avatar file for a video channel?”
Tell an agent
Set the avatar of channel {channelHandle} to {avatarfile}.
Upload {avatarfile} as the avatar for channel {channelHandle}.
DELETE /api/v1/video-channels/{channelHandle}/avatar Remove a channel's avatar · Delete channel avatar #
Ask an LLM
“How do I remove a video channel's avatar?”
“Can I clear the profile picture of a channel?”
Tell an agent destructive · confirm first
Delete the avatar of channel {channelHandle}.
Remove the profile picture from channel {channelHandle}.
POST /api/v1/video-channels/{channelHandle}/banner/pick Set a channel's banner · Update channel banner #
Ask an LLM
“How do I upload a banner image for a channel?”
“Can I pick a banner file for a video channel?”
Tell an agent
Set the banner of channel {channelHandle} to {bannerfile}.
Upload {bannerfile} as the banner for channel {channelHandle}.
DELETE /api/v1/video-channels/{channelHandle}/banner Remove a channel's banner · Delete channel banner #
Ask an LLM
“How do I remove a video channel's banner?”
“Can I clear the banner image of a channel?”
Tell an agent destructive · confirm first
Delete the banner of channel {channelHandle}.
Remove the banner from channel {channelHandle}.
POST /api/v1/video-channels/{channelHandle}/import-videos Import videos from a remote channel · Import videos in channel #
Ask an LLM
“How do I import videos from another channel into my own?”
“Can I sync a remote playlist into a channel?”
Tell an agent
Import videos from {externalChannelUrl} into channel {channelHandle}.
Sync remote channel {externalChannelUrl} into channel {channelHandle} using sync {videoChannelSyncId}.
GET /api/v1/accounts/{name}/video-channels List an account's video channels · List video channels of an account #
Ask an LLM
“Which video channels does a user own?”
“Can I include view statistics when listing an account's channels?”
Tell an agent
List the video channels of account {name}.
Show {count} channels for {name} with stats {withStats}.
GET /api/v1/accounts/{name}/video-channel-syncs List an account's channel syncs · List the synchronizations of video channels of an account #
Ask an LLM
“Which video channel synchronizations does an account have?”
“Can I include collaborations when listing an account's syncs?”
Tell an agent
List the video channel syncs of account {name}.
Show {count} channel syncs for {name} including collaborations {includeCollaborations}.
GET /api/v1/search/video-channels Search video channels · Search channels #
Ask an LLM
“How do I find a video channel by name?”
“Can I search channels hosted on a specific server?”
Tell an agent
Search channels for {search}.
Find channels matching {search} on host {host}.
GET /api/v1/video-channels/{channelHandle}/collaborators List a channel's collaborators · List channel collaborators #
Ask an LLM
“Who are the collaborators on a video channel?”
“Can I see who helps run a channel?”
Tell an agent
List the collaborators of channel {channelHandle}.
Show who helps run channel {channelHandle}.
POST /api/v1/video-channels/{channelHandle}/collaborators/invite Invite a collaborator to a channel · Invite a collaborator #
Ask an LLM
“How do I invite someone to help run a video channel?”
“Can I add a local user as a channel collaborator?”
Tell an agent
Invite {accountHandle} to collaborate on channel {channelHandle}.
Add {accountHandle} as a collaborator on channel {channelHandle}.
POST /api/v1/video-channels/{channelHandle}/collaborators/{collaboratorId}/accept Accept a collaboration invitation · Accept a collaboration invitation #
Ask an LLM
“How do I accept a collaboration invitation on a video channel?”
“Can I accept a collaborator invite before the channel owner?”
Tell an agent
Accept the collaboration invitation for {channelHandle} from collaborator {collaboratorId}.
Confirm that {collaboratorId} can collaborate on {channelHandle}.
POST /api/v1/video-channels/{channelHandle}/collaborators/{collaboratorId}/reject Reject a collaboration invitation · Reject a collaboration invitation #
Ask an LLM
“How do I decline a collaboration invitation on a video channel?”
“Can I refuse a collaborator invite without removing them?”
Tell an agent destructive · confirm first
Reject the collaboration invitation for {channelHandle} from collaborator {collaboratorId}.
Decline {collaboratorId}'s invite to collaborate on {channelHandle}.
DELETE /api/v1/video-channels/{channelHandle}/collaborators/{collaboratorId} Remove a channel collaborator · Remove a channel collaborator #
Ask an LLM
“How do I remove a collaborator from a video channel?”
“Who is allowed to remove a collaborator from a channel?”
Tell an agent destructive · confirm first
Remove collaborator {collaboratorId} from {channelHandle}.
Take {collaboratorId} off the {channelHandle} channel.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/peertube:peertube-video-channels-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

peertube-video-channels-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PeerTube Video Channels API
  version: 8.1.0
  contact:
    name: PeerTube Community
    url: https://joinpeertube.org
  license:
    name: AGPLv3.0
    url: https://github.com/Chocobozzz/PeerTube/blob/master/LICENSE
  x-logo:
    url: https://joinpeertube.org/img/brand.png
    altText: PeerTube Project Homepage
  description: The PeerTube API is built on HTTP(S) and is RESTful.
servers:
- url: https://peertube2.cpy.re
  description: Live Test Server (live data - latest nightly version)
- url: https://peertube3.cpy.re
  description: Live Test Server (live data - latest RC version)
- url: https://peertube.cpy.re
  description: Live Test Server (live data - stable version)
tags:


# --- truncated at 32 KB (56 KB total) ---
# Full source: https://artifacts.apis.io/peertube/openapi/peertube-video-channels-api-openapi.yml