PeerTube · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PeerTube Video Playlists API

17 actions 17 updates phrasing extends openapi/peertube-video-playlists-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 17 · first 16 shown; the file carries all of them

$.info
$.paths['/api/v1/video-channels/{channelHandle}/video-playlists'].get
$.paths['/api/v1/video-channels/{channelHandle}/video-playlists/reorder'].post
$.paths['/api/v1/video-playlists/privacies'].get
$.paths['/api/v1/video-playlists'].get
$.paths['/api/v1/video-playlists'].post
$.paths['/api/v1/video-playlists/{playlistId}'].get
$.paths['/api/v1/video-playlists/{playlistId}'].put
$.paths['/api/v1/video-playlists/{playlistId}'].delete
$.paths['/api/v1/video-playlists/{playlistId}/videos'].get
$.paths['/api/v1/video-playlists/{playlistId}/videos'].post
$.paths['/api/v1/video-playlists/{playlistId}/videos/reorder'].post
$.paths['/api/v1/video-playlists/{playlistId}/videos/{playlistElementId}'].put
$.paths['/api/v1/video-playlists/{playlistId}/videos/{playlistElementId}'].delete
$.paths['/api/v1/users/me/video-playlists/videos-exist'].get
$.paths['/api/v1/accounts/{name}/video-playlists'].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 Video Playlists API
  version: 1.0.0
extends: openapi/peertube-video-playlists-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: 16
- target: $.paths['/api/v1/video-channels/{channelHandle}/video-playlists'].get
  update:
    x-apievangelist-phrasing:
      intent: List a channel's playlists
      effect: read
      questions:
      - What playlists does a particular video channel have?
      - Can I sort a channel's playlists by date or name?
      instructions:
      - text: List the playlists of channel {channelHandle}.
        slots:
          channelHandle: path.channelHandle
      - text: Show {count} playlists for {channelHandle} sorted by {sort}.
        slots:
          count: query.count
          channelHandle: path.channelHandle
          sort: query.sort
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/video-channels/{channelHandle}/video-playlists/reorder'].post
  update:
    x-apievangelist-phrasing:
      intent: Reorder a channel's playlists
      effect: write
      questions:
      - How do I change the order of playlists on a video channel?
      - Can I move several playlists at once within a channel?
      instructions:
      - text: Move the playlist at position {startPosition} on {channelHandle} to after position {insertAfterPosition}.
        slots:
          startPosition: requestBody.startPosition
          channelHandle: path.channelHandle
          insertAfterPosition: requestBody.insertAfterPosition
      - text: Reorder {reorderLength} playlists starting at {startPosition} on {channelHandle} so they come after {insertAfterPosition}.
        slots:
          reorderLength: requestBody.reorderLength
          startPosition: requestBody.startPosition
          channelHandle: path.channelHandle
          insertAfterPosition: requestBody.insertAfterPosition
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/video-playlists/privacies'].get
  update:
    x-apievangelist-phrasing:
      intent: List playlist privacy policies
      effect: read
      questions:
      - What privacy settings can a video playlist have?
      - Which privacy options are available for playlists?
      instructions:
      - text: List the available playlist privacy policies.
      - text: Show me the privacy options for playlists.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/video-playlists'].get
  update:
    x-apievangelist-phrasing:
      intent: List video playlists
      effect: read
      questions:
      - Which video playlists exist across the instance?
      - Can I list only public playlists?
      instructions:
      - text: List all video playlists.
      - text: Show {count} playlists sorted by {sort}.
        slots:
          count: query.count
          sort: query.sort
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/video-playlists'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a video playlist
      effect: write
      questions:
      - How do I create a new playlist for my videos?
      - Can a new playlist be published to a specific video channel?
      instructions:
      - text: Create a playlist named {displayName}.
        slots:
          displayName: requestBody.displayName
      - text: Create playlist {displayName} with privacy {privacy} on channel {videoChannelId}.
        slots:
          displayName: requestBody.displayName
          privacy: requestBody.privacy
          videoChannelId: requestBody.videoChannelId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/video-playlists/{playlistId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a video playlist
      effect: read
      questions:
      - What are the details of one playlist?
      - Can I fetch a playlist by its ID?
      instructions:
      - text: Get playlist {playlistId}.
        slots:
          playlistId: path.playlistId
      - text: Show the details of playlist {playlistId}.
        slots:
          playlistId: path.playlistId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/video-playlists/{playlistId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a video playlist
      effect: write
      questions:
      - How do I rename or change the privacy of an existing playlist?
      - Can I move a playlist to a different channel?
      instructions:
      - text: Rename playlist {playlistId} to {displayName}.
        slots:
          playlistId: path.playlistId
          displayName: requestBody.displayName
      - text: Set the privacy of playlist {playlistId} to {privacy}.
        slots:
          playlistId: path.playlistId
          privacy: requestBody.privacy
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/video-playlists/{playlistId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a video playlist
      effect: destructive
      questions:
      - How do I delete a playlist I no longer need?
      - Can I remove a playlist by its ID?
      instructions:
      - text: Delete playlist {playlistId}.
        slots:
          playlistId: path.playlistId
      - text: Remove the playlist {playlistId} from the instance.
        slots:
          playlistId: path.playlistId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/video-playlists/{playlistId}/videos'].get
  update:
    x-apievangelist-phrasing:
      intent: List the videos in a playlist
      effect: read
      questions:
      - Which videos are in a particular playlist?
      - Can I page through a playlist's videos?
      instructions:
      - text: List the videos in playlist {playlistId}.
        slots:
          playlistId: path.playlistId
      - text: Show {count} videos from playlist {playlistId}.
        slots:
          count: query.count
          playlistId: path.playlistId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/video-playlists/{playlistId}/videos'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a video to a playlist
      effect: write
      questions:
      - How do I put a video into an existing playlist?
      - Can I start a video in a playlist at a specific timestamp?
      instructions:
      - text: Add video {videoId} to playlist {playlistId}.
        slots:
          videoId: requestBody.videoId
          playlistId: path.playlistId
      - text: Add video {videoId} to playlist {playlistId} starting at {startTimestamp}.
        slots:
          videoId: requestBody.videoId
          playlistId: path.playlistId
          startTimestamp: requestBody.startTimestamp
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/video-playlists/{playlistId}/videos/reorder'].post
  update:
    x-apievangelist-phrasing:
      intent: Reorder videos in a playlist
      effect: write
      questions:
      - How do I change the order of videos inside a playlist?
      - Can I move a batch of videos within a playlist?
      instructions:
      - text: Move the video at position {startPosition} in playlist {playlistId} to after position {insertAfterPosition}.
        slots:
          startPosition: requestBody.startPosition
          playlistId: path.playlistId
          insertAfterPosition: requestBody.insertAfterPosition
      - text: Reorder {reorderLength} videos starting at {startPosition} in playlist {playlistId} so they come after {insertAfterPosition}.
        slots:
          reorderLength: requestBody.reorderLength
          startPosition: requestBody.startPosition
          playlistId: path.playlistId
          insertAfterPosition: requestBody.insertAfterPosition
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/video-playlists/{playlistId}/videos/{playlistElementId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a video's timestamps in a playlist
      effect: write
      questions:
      - Can I change the start and stop time a video plays in a playlist?
      - How do I trim a video's playback range within a playlist?
      instructions:
      - text: Set the start time of element {playlistElementId} in playlist {playlistId} to {startTimestamp}.
        slots:
          playlistElementId: path.playlistElementId
          playlistId: path.playlistId
          startTimestamp: requestBody.startTimestamp
      - text: Trim element {playlistElementId} in playlist {playlistId} to stop at {stopTimestamp}.
        slots:
          playlistElementId: path.playlistElementId
          playlistId: path.playlistId
          stopTimestamp: requestBody.stopTimestamp
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/video-playlists/{playlistId}/videos/{playlistElementId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a video from a playlist
      effect: destructive
      questions:
      - How do I take a video out of a playlist?
      - Can I delete one element from a playlist by its ID?
      instructions:
      - text: Remove element {playlistElementId} from playlist {playlistId}.
        slots:
          playlistElementId: path.playlistElementId
          playlistId: path.playlistId
      - text: Delete video {playlistElementId} from playlist {playlistId}.
        slots:
          playlistElementId: path.playlistElementId
          playlistId: path.playlistId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/me/video-playlists/videos-exist'].get
  update:
    x-apievangelist-phrasing:
      intent: Check which of my videos are in playlists
      effect: read
      questions:
      - Which of my videos appear in any playlist?
      - Can I check several videos against my playlists at once?
      instructions:
      - text: Check whether videos {videoIds} exist in my playlists.
        slots:
          videoIds: query.videoIds
      - text: Tell me which of my videos {videoIds} are in playlists.
        slots:
          videoIds: query.videoIds
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/accounts/{name}/video-playlists'].get
  update:
    x-apievangelist-phrasing:
      intent: List an account's playlists
      effect: read
      questions:
      - What playlists does a given user or channel have?
      - Can I search an account's playlists by name?
      instructions:
      - text: List the playlists of {name}.
        slots:
          name: path.name
      - text: Find playlists of {name} matching {search}.
        slots:
          name: path.name
          search: query.search
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/search/video-playlists'].get
  update:
    x-apievangelist-phrasing:
      intent: Search playlists
      effect: read
      questions:
      - How do I find playlists by keyword?
      - Can I search playlists on a specific host?
      instructions:
      - text: Search playlists for {search}.
        slots:
          search: query.search
      - text: Find playlists on host {host} matching {search}.
        slots:
          host: query.host
          search: query.search
      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-playlists-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.