PeerTube · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PeerTube Video Upload API

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

$.info
$.paths['/api/v1/videos/upload'].post
$.paths['/api/v1/videos/upload-resumable'].put
$.paths['/api/v1/videos/upload-resumable'].post
$.paths['/api/v1/videos/upload-resumable'].delete
$.paths['/api/v1/videos/imports'].post
$.paths['/api/v1/videos/{id}/source/replace-resumable'].put
$.paths['/api/v1/videos/{id}/source/replace-resumable'].post
$.paths['/api/v1/videos/{id}/source/replace-resumable'].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 Upload API
  version: 1.0.0
extends: openapi/peertube-video-upload-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: 8
- 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 to PeerTube in a single request?
      - Can I set privacy, category and tags on a video when I upload it?
      instructions:
      - text: Upload {name} to channel {channelId} with file {videofile}.
        slots:
          name: requestBody.name
          channelId: requestBody.channelId
          videofile: requestBody.videofile
      - text: Upload {name} to channel {channelId} as {privacy} privacy with file {videofile}.
        slots:
          name: requestBody.name
          channelId: requestBody.channelId
          privacy: requestBody.privacy
          videofile: requestBody.videofile
      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 video upload that was interrupted?
      - What Content-Range and Content-Length headers does a resumable upload chunk need?
      instructions:
      - text: Send chunk {Content-Range} for resumable upload {upload_id}.
        slots:
          Content-Range: header.Content-Range
          upload_id: query.upload_id
      - text: Continue resumable upload {upload_id} with a {Content-Length} byte chunk.
        slots:
          upload_id: query.upload_id
          Content-Length: header.Content-Length
      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 upload of a large video?
      - What content length and type do I send before resumable chunks?
      instructions:
      - text: Initialize resumable upload of {filename} to channel {channelId} named {name}.
        slots:
          filename: requestBody.filename
          channelId: requestBody.channelId
          name: requestBody.name
      - text: Start resumable upload of {filename} to channel {channelId} as {privacy} privacy named {name}.
        slots:
          filename: requestBody.filename
          channelId: requestBody.channelId
          privacy: requestBody.privacy
          name: requestBody.name
      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 resumable video upload before it finishes?
      - Does cancelling a resumable upload delete the data I already sent?
      instructions:
      - text: Cancel resumable upload {upload_id}.
        slots:
          upload_id: query.upload_id
      - text: Delete the partially uploaded video for resumable session {upload_id}.
        slots:
          upload_id: query.upload_id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/imports'].post
  update:
    x-apievangelist-phrasing:
      intent: Import a video by URL
      effect: write
      questions:
      - How do I import a video from a magnet link or HTTP URL?
      - Can I import a torrent and set its privacy and tags at import time?
      instructions:
      - text: Import a video named {name} into channel {channelId}.
        slots:
          name: requestBody.name
          channelId: requestBody.channelId
      - text: Import a video named {name} into channel {channelId} as {privacy} privacy.
        slots:
          name: requestBody.name
          channelId: requestBody.channelId
          privacy: requestBody.privacy
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/source/replace-resumable'].put
  update:
    x-apievangelist-phrasing:
      intent: Send a chunk of a resumable video replacement
      effect: write
      questions:
      - How do I replace a video's source file in chunks?
      - What Content-Range and Content-Length headers does a resumable video replacement chunk need?
      instructions:
      - text: Send chunk {Content-Range} for replacing video {id} with resumable session {upload_id}.
        slots:
          Content-Range: header.Content-Range
          id: path.id
          upload_id: query.upload_id
      - text: Continue replacing video {id} using resumable session {upload_id} with a {Content-Length} byte chunk.
        slots:
          id: path.id
          upload_id: query.upload_id
          Content-Length: header.Content-Length
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/source/replace-resumable'].post
  update:
    x-apievangelist-phrasing:
      intent: Replace a video with a resumable upload
      effect: write
      questions:
      - How do I resume replacing a video's source file after an interruption?
      - What content length and type do I need to start a resumable video replacement?
      instructions:
      - text: Initialize a resumable upload to replace video {id} with {contentLength} bytes of type {contentType}.
        slots:
          id: path.id
          contentLength: header.X-Upload-Content-Length
          contentType: header.X-Upload-Content-Type
      - text: Replace video {id} using resumable upload {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 replacement of a video's source?
      - Does cancelling a resumable video replacement delete the data I already sent?
      instructions:
      - text: Cancel resumable replacement of video {id} with session {upload_id}.
        slots:
          id: path.id
          upload_id: query.upload_id
      - text: Delete the partially replaced source for video {id} using resumable session {upload_id}.
        slots:
          id: path.id
          upload_id: query.upload_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-upload-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.