PeerTube · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PeerTube Video API

28 actions 28 updates phrasing extends openapi/peertube-video-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for PeerTube's API. It is a proposal applied on top of the contract, not a document PeerTube publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 28 · first 16 shown; the file carries all of them

$.info
$.paths['/api/v1/accounts/{name}/videos'].get
$.paths['/api/v1/videos/{id}/token'].post
$.paths['/api/v1/videos/{id}/studio/edit'].post
$.paths['/api/v1/videos'].get
$.paths['/api/v1/videos/categories'].get
$.paths['/api/v1/videos/licences'].get
$.paths['/api/v1/videos/languages'].get
$.paths['/api/v1/videos/privacies'].get
$.paths['/api/v1/videos/{id}'].get
$.paths['/api/v1/videos/{id}'].put
$.paths['/api/v1/videos/{id}'].delete
$.paths['/api/v1/videos/{id}/views'].post
$.paths['/api/v1/videos/upload'].post
$.paths['/api/v1/videos/upload-resumable'].put
$.paths['/api/v1/videos/upload-resumable'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for PeerTube Video API
  version: 1.0.0
extends: openapi/peertube-video-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 27
- target: $.paths['/api/v1/accounts/{name}/videos'].get
  update:
    x-apievangelist-phrasing:
      intent: List videos from an account
      effect: read
      questions:
      - How do I list all videos posted by a specific PeerTube user?
      - Can I list only the videos from one account that have a given tag?
      instructions:
      - text: List videos from account {name}.
        slots:
          name: path.name
      - text: Show {count} videos from {name} tagged {tagsOneOf}.
        slots:
          count: query.count
          name: path.name
          tagsOneOf: query.tagsOneOf
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/token'].post
  update:
    x-apievangelist-phrasing:
      intent: Request a short-lived token for a video
      effect: read
      questions:
      - How do I get a temporary token to download a private video?
      - Can I request a video token with a password?
      instructions:
      - text: Request a video token for {id}.
        slots:
          id: path.id
      - text: Get a short-lived token for video {id} using password {password}.
        slots:
          id: path.id
          password: header.x-peertube-video-password
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/studio/edit'].post
  update:
    x-apievangelist-phrasing:
      intent: Start a video editing task
      effect: write
      questions:
      - How do I cut or add an intro to a video with the studio editor?
      - Can I create an edit task for a video I uploaded?
      instructions:
      - text: Create a studio edit task for video {id}.
        slots:
          id: path.id
      - text: Start an edit session on video {id} to add an intro.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos'].get
  update:
    x-apievangelist-phrasing:
      intent: List videos across the instance
      effect: read
      questions:
      - How do I search the whole PeerTube instance for videos?
      - Can I list only videos that have a certain tag across all accounts?
      instructions:
      - text: List videos across the instance matching {search}.
        slots:
          search: query.search
      - text: Show {count} videos tagged {tagsOneOf} from all accounts.
        slots:
          count: query.count
          tagsOneOf: query.tagsOneOf
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/categories'].get
  update:
    x-apievangelist-phrasing:
      intent: List video categories
      effect: read
      questions:
      - What categories can videos be filed under?
      - Which category IDs are available for videos?
      instructions:
      - text: List video categories.
      - text: Show the category IDs for videos.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/licences'].get
  update:
    x-apievangelist-phrasing:
      intent: List video licences
      effect: read
      questions:
      - Which licences can videos be released under?
      - What licence IDs are available for videos?
      instructions:
      - text: List video licences.
      - text: Show the licence IDs for videos.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/languages'].get
  update:
    x-apievangelist-phrasing:
      intent: List video languages
      effect: read
      questions:
      - What languages can videos be tagged with?
      - Can I list only video languages used for subtitles?
      instructions:
      - text: List video languages.
      - text: Show video languages scoped to {scope}.
        slots:
          scope: query.scope
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/privacies'].get
  update:
    x-apievangelist-phrasing:
      intent: List video privacy policies
      effect: read
      questions:
      - What privacy settings can videos have?
      - Which privacy IDs are available for videos?
      instructions:
      - text: List video privacy policies.
      - text: Show the privacy IDs for videos.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a video
      effect: read
      questions:
      - How do I fetch the details of one video?
      - Can I get a video's details using its short UUID?
      instructions:
      - text: Get video {id}.
        slots:
          id: path.id
      - text: Show the details of video {id} using password {password}.
        slots:
          id: path.id
          password: header.x-peertube-video-password
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a video
      effect: write
      questions:
      - How do I change a video's description or privacy?
      - Can I add tags to a video after it's uploaded?
      instructions:
      - text: Update video {id} with description {description}.
        slots:
          id: path.id
          description: requestBody.description
      - text: Set the tags on video {id} to {tags}.
        slots:
          id: path.id
          tags: requestBody.tags
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a video
      effect: destructive
      questions:
      - How do I delete a video I uploaded?
      - Can I remove a video from my account?
      instructions:
      - text: Delete video {id}.
        slots:
          id: path.id
      - text: Remove the video {id} from my account.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/views'].post
  update:
    x-apievangelist-phrasing:
      intent: Report a user watching a video
      effect: write
      questions:
      - How do I send view events so a video's view count goes up?
      - Can I report a user's current playback time on a video?
      instructions:
      - text: Report that the user is watching video {id} at {currentTime}.
        slots:
          id: path.id
          currentTime: requestBody.currentTime
      - text: Send a view event for video {id} at {currentTime} with event {viewEvent}.
        slots:
          id: path.id
          currentTime: requestBody.currentTime
          viewEvent: requestBody.viewEvent
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/upload'].post
  update:
    x-apievangelist-phrasing:
      intent: Upload a video in one request
      effect: write
      questions:
      - How do I upload a video in a single request?
      - Can I upload a video and set its privacy and tags at the same time?
      instructions:
      - text: Upload video {name} from {videofile} to channel {channelId}.
        slots:
          name: requestBody.name
          videofile: requestBody.videofile
          channelId: requestBody.channelId
      - text: Upload {name} to channel {channelId} with privacy {privacy} and tags {tags}.
        slots:
          name: requestBody.name
          channelId: requestBody.channelId
          privacy: requestBody.privacy
          tags: requestBody.tags
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/upload-resumable'].put
  update:
    x-apievangelist-phrasing:
      intent: Send a chunk of a resumable video upload
      effect: write
      questions:
      - How do I resume a paused video upload?
      - Can I send the next chunk of a large video upload?
      instructions:
      - text: Send chunk {Content-Range} of upload {upload_id}.
        slots:
          Content-Range: header.Content-Range
          upload_id: query.upload_id
      - text: Resume video upload {upload_id} with chunk {Content-Range}.
        slots:
          upload_id: query.upload_id
          Content-Range: header.Content-Range
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/upload-resumable'].post
  update:
    x-apievangelist-phrasing:
      intent: Initialize a resumable video upload
      effect: write
      questions:
      - How do I start a resumable video upload?
      - Can I set the file size and MIME type before uploading chunks?
      instructions:
      - text: Initialize a resumable upload of {filename} ({X-Upload-Content-Length} bytes) to channel {channelId}.
        slots:
          filename: requestBody.filename
          X-Upload-Content-Length: header.X-Upload-Content-Length
          channelId: requestBody.channelId
      - text: Start resumable upload of {filename} for {name} in channel {channelId}.
        slots:
          filename: requestBody.filename
          name: requestBody.name
          channelId: requestBody.channelId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/upload-resumable'].delete
  update:
    x-apievangelist-phrasing:
      intent: Cancel a resumable video upload
      effect: destructive
      questions:
      - How do I cancel a video upload that's still in progress?
      - Can I delete the partially uploaded data of a resumable upload?
      instructions:
      - text: Cancel resumable upload {upload_id}.
        slots:
          upload_id: query.upload_id
      - text: Abort video upload {upload_id} and delete its chunks.
        slots:
          upload_id: query.upload_id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/live'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a live stream
      effect: write
      questions:
      - How do I start a live stream for a channel?
      - Can I save a replay of a live stream?
      instructions:
      - text: Create a live stream {name} for channel {channelId}.
        slots:
          name: requestBody.name
          channelId: requestBody.channelId
      - text: Start a live stream {name} on channel {channelId} with replay {saveReplay}.
        slots:
          name: requestBody.name
          channelId: requestBody.channelId
          saveReplay: requestBody.saveReplay
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/live/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a live stream's information
      effect: read
      questions:
      - How do I check whether a live stream is currently on air?
      - Can I get the replay settings of a live stream?
      instructions:
      - text: Get information about live stream {id}.
        slots:
          id: path.id
      - text: Show the replay settings of live {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/live/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a live stream
      effect: write
      questions:
      - How do I change the replay settings of a live stream?
      - Can I make a live stream permanent?
      instructions:
      - text: Update live stream {id} to save replay {saveReplay}.
        slots:
          id: path.id
          saveReplay: requestBody.saveReplay
      - text: Make live {id} permanent with latency mode {latencyMode}.
        slots:
          id: path.id
          latencyMode: requestBody.latencyMode
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/source'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a video's original file
      effect: read
      questions:
      - How do I download the original video file?
      - Can I get the source file metadata for a video?
      instructions:
      - text: Get the source file metadata for video {id}.
        slots:
          id: path.id
      - text: Download the original video file of {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/source/file'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a video's source file
      effect: destructive
      questions:
      - How do I remove the original source file from a video?
      - Can I delete a video's source file without deleting the video itself?
      instructions:
      - text: Delete the source file of video {id}.
        slots:
          id: path.id
      - text: Remove the original upload from video {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/source/replace-resumable'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a video's source file in chunks
      effect: write
      questions:
      - How do I resume an interrupted upload of a video's source file?
      - Can I pause and resume a video source replacement?
      instructions:
      - text: Send chunk {chunk} of the resumable replacement for video {id} with upload {upload_id} at {range}.
        slots:
          chunk: header.Content-Length
          id: path.id
          upload_id: query.upload_id
          range: header.Content-Range
      - text: Resume the resumable upload of video {id} using session {upload_id}.
        slots:
          id: path.id
          upload_id: query.upload_id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/source/replace-resumable'].post
  update:
    x-apievangelist-phrasing:
      intent: Initialize a resumable video replacement
      effect: write
      questions:
      - How do I start a resumable upload of a new source file for a video?
      - What content type and length do I send when initializing a video replacement?
      instructions:
      - text: Initialize a resumable replacement of video {id} with content length {size} and type {type}.
        slots:
          id: path.id
          size: header.X-Upload-Content-Length
          type: header.X-Upload-Content-Type
      - text: Start a resumable upload of a new source file for video {id} named {filename}.
        slots:
          id: path.id
          filename: requestBody.filename
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/source/replace-resumable'].delete
  update:
    x-apievangelist-phrasing:
      intent: Cancel a resumable video replacement
      effect: destructive
      questions:
      - How do I cancel a resumable video source upload?
      - Can I abort a video replacement that is still in progress?
      instructions:
      - text: Cancel the resumable replacement of video {id} with upload {upload_id}.
        slots:
          id: path.id
          upload_id: query.upload_id
      - text: Abort the in-progress upload session {upload_id} for video {id}.
        slots:
          id: path.id
          upload_id: query.upload_id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/storyboards'].get
  update:
    x-apievangelist-phrasing:
      intent: List storyboards of a video
      effect: read
      questions:
      - What storyboards exist for a video?
      - Can I see the storyboard images attached to a video?
      instructions:
      - text: List the storyboards of video {id}.
        slots:
          id: path.id
      - text: Show storyboard images for video {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/video-channels/{channelHandle}/videos'].get
  update:
    x-apievangelist-phrasing:
      intent: List videos from a video channel
      effect: read
      questions:
      - What videos does a particular video channel have?
      - Can I list only a channel's local videos or videos in a certain category?
      instructions:
      - text: List videos from the channel {channel}.
        slots:
          channel: path.channelHandle
      - text: Show {count} videos from {channel} in category {category}.
        slots:
          count: query.count
          channel: path.channelHandle
          category: query.categoryOneOf
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/search/videos'].get
  update:
    x-apievangelist-phrasing:
      intent: Search videos
      effect: read
      questions:
      - How do I search videos across the instance?
      - Can I filter videos by duration, language or tags?
      instructions:
      - text: Search videos for {search}.
        slots:
          search: query.search
      - text: Find videos matching {search} in language {language} with duration between {min} and {max}.
        slots:
          search: query.search
          language: query.languageOneOf
          min: query.durationMin
          max: query.durationMax
      method: generated
      generated: '2026-11-22'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/peertube-video-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.