PeerTube · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PeerTube User Imports API

5 actions 5 updates phrasing extends openapi/peertube-user-imports-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/users/{userId}/imports/import-resumable'].put
$.paths['/api/v1/users/{userId}/imports/import-resumable'].post
$.paths['/api/v1/users/{userId}/imports/import-resumable'].delete
$.paths['/api/v1/users/{userId}/imports/latest'].get

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 User Imports API
  version: 1.0.0
extends: openapi/peertube-user-imports-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/users/{userId}/imports/import-resumable'].put
  update:
    x-apievangelist-phrasing:
      intent: Upload a chunk of a resumable user import
      effect: write
      questions:
      - How do I resume a user import that was paused?
      - Can I send a file chunk by byte range for a user import?
      instructions:
      - text: Send chunk {Content-Range} for user import {upload_id} of user {userId}.
        slots:
          Content-Range: header.Content-Range
          upload_id: query.upload_id
          userId: path.userId
      - text: Resume user import {upload_id} for user {userId} with chunk {Content-Length}.
        slots:
          upload_id: query.upload_id
          userId: path.userId
          Content-Length: header.Content-Length
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/{userId}/imports/import-resumable'].post
  update:
    x-apievangelist-phrasing:
      intent: Initialize a resumable user import
      effect: write
      questions:
      - How do I start a resumable user import for a user?
      - What content type and length do I need to send before uploading chunks?
      instructions:
      - text: Initialize a resumable user import for user {userId} with {Content-Length} bytes of type {Content-Type}.
        slots:
          userId: path.userId
          Content-Length: header.X-Upload-Content-Length
          Content-Type: header.X-Upload-Content-Type
      - text: Start resumable import {filename} for user {userId}.
        slots:
          filename: requestBody.filename
          userId: path.userId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/{userId}/imports/import-resumable'].delete
  update:
    x-apievangelist-phrasing:
      intent: Cancel a resumable user import
      effect: destructive
      questions:
      - How do I cancel a resumable user import?
      - Can I abort an import session that timed out?
      instructions:
      - text: Cancel resumable user import {upload_id} for user {userId}.
        slots:
          upload_id: query.upload_id
          userId: path.userId
      - text: Abort import session {upload_id} of user {userId} with {Content-Length}.
        slots:
          upload_id: query.upload_id
          userId: path.userId
          Content-Length: header.Content-Length
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/{userId}/imports/latest'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the latest user import
      effect: read
      questions:
      - What was the result of the most recent user import?
      - Did the latest user import finish?
      instructions:
      - text: Show the latest user import for user {userId}.
        slots:
          userId: path.userId
      - text: Get the status of user {userId}'s most recent import.
        slots:
          userId: path.userId
      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-user-imports-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.