PeerTube · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PeerTube Video Captions API

5 actions 5 updates phrasing extends openapi/peertube-video-captions-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 5

$.info
$.paths['/api/v1/videos/{id}/captions'].get
$.paths['/api/v1/videos/{id}/captions/generate'].post
$.paths['/api/v1/videos/{id}/captions/{captionLanguage}'].put
$.paths['/api/v1/videos/{id}/captions/{captionLanguage}'].delete

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 Captions API
  version: 1.0.0
extends: openapi/peertube-video-captions-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: 4
- target: $.paths['/api/v1/videos/{id}/captions'].get
  update:
    x-apievangelist-phrasing:
      intent: List a video's captions
      effect: read
      questions:
      - Which captions are available for a video?
      - Can I see the captions of a password-protected video?
      instructions:
      - text: List captions for video {id}.
        slots:
          id: path.id
      - text: Show captions 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}/captions/generate'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate captions for a video
      effect: write
      questions:
      - Can PeerTube auto-generate captions for a video?
      - Is caption generation enabled for my instance?
      instructions:
      - text: Generate captions for video {id}.
        slots:
          id: path.id
      - text: Auto-generate captions for video {id} with force {force}.
        slots:
          id: path.id
          force: requestBody.forceTranscription
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/captions/{captionLanguage}'].put
  update:
    x-apievangelist-phrasing:
      intent: Add or replace a video caption
      effect: write
      questions:
      - How do I upload a caption file for a video?
      - Can I replace an existing caption in a given language?
      instructions:
      - text: Add caption file {file} to video {id} in {language}.
        slots:
          file: requestBody.captionfile
          id: path.id
          language: path.captionLanguage
      - text: Replace the {language} caption on video {id}.
        slots:
          language: path.captionLanguage
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/captions/{captionLanguage}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a video caption
      effect: destructive
      questions:
      - How do I remove a caption from a video?
      - Can I delete one language's captions from a video?
      instructions:
      - text: Delete the {language} caption from video {id}.
        slots:
          language: path.captionLanguage
          id: path.id
      - text: Remove caption {language} on video {id}.
        slots:
          language: path.captionLanguage
          id: path.id
      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-captions-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.