PeerTube · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PeerTube Video Comments API

9 actions 9 updates phrasing extends openapi/peertube-video-comments-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/users/me/videos/comments'].get
$.paths['/api/v1/videos/{id}/comment-threads'].get
$.paths['/api/v1/videos/{id}/comment-threads'].post
$.paths['/api/v1/videos/{id}/comment-threads/{threadId}'].get
$.paths['/api/v1/videos/comments'].get
$.paths['/api/v1/videos/{id}/comments/{commentId}'].post
$.paths['/api/v1/videos/{id}/comments/{commentId}'].delete
$.paths['/api/v1/videos/{id}/comments/{commentId}/approve'].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 Comments API
  version: 1.0.0
extends: openapi/peertube-video-comments-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/users/me/videos/comments'].get
  update:
    x-apievangelist-phrasing:
      intent: List comments on my videos
      effect: read
      questions:
      - Which comments have I posted on my own videos?
      - Can I see comments on my videos that are still held for review?
      instructions:
      - text: List my comments on videos I own.
      - text: Show comments on my videos that are held for review.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/comment-threads'].get
  update:
    x-apievangelist-phrasing:
      intent: List comment threads on a video
      effect: read
      questions:
      - How do I get the comment threads on a specific video?
      - Can I sort a video's comment threads?
      instructions:
      - text: List comment threads on video {id}.
        slots:
          id: path.id
      - text: Show {count} comment threads on video {id} sorted by {sort}.
        slots:
          id: path.id
          count: query.count
          sort: query.sort
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/comment-threads'].post
  update:
    x-apievangelist-phrasing:
      intent: Start a comment thread on a video
      effect: write
      questions:
      - How do I start a new discussion thread on a video?
      - Can I open a comment thread on a password-protected video?
      instructions:
      - text: Start a comment thread on video {id} saying {text}.
        slots:
          id: path.id
          text: requestBody.text
      - text: Open a new discussion thread on video {id} with {text}.
        slots:
          id: path.id
          text: requestBody.text
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/comment-threads/{threadId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one comment thread
      effect: read
      questions:
      - How do I read a single comment thread on a video?
      - What does a specific comment thread contain?
      instructions:
      - text: Get comment thread {threadId} on video {id}.
        slots:
          id: path.id
          threadId: path.threadId
      - text: Show the discussion in thread {threadId} of video {id}.
        slots:
          id: path.id
          threadId: path.threadId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/comments'].get
  update:
    x-apievangelist-phrasing:
      intent: List comments across the instance
      effect: read
      questions:
      - What comments have been posted across the whole PeerTube instance?
      - Can I list only comments on local videos?
      instructions:
      - text: List comments across the instance.
      - text: Show comments on local videos only.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/comments/{commentId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Reply to a comment thread
      effect: write
      questions:
      - How do I reply to a comment on a video?
      - Can I reply to a comment on a password-protected video?
      instructions:
      - text: Reply to comment {commentId} on video {id} with {text}.
        slots:
          id: path.id
          commentId: path.commentId
          text: requestBody.text
      - text: Post a reply {text} to comment {commentId} of video {id}.
        slots:
          id: path.id
          commentId: path.commentId
          text: requestBody.text
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/comments/{commentId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a comment or reply
      effect: destructive
      questions:
      - How do I delete a comment or reply on a video?
      - Can I remove a comment I posted?
      instructions:
      - text: Delete comment {commentId} on video {id}.
        slots:
          id: path.id
          commentId: path.commentId
      - text: Remove my comment {commentId} from video {id}.
        slots:
          id: path.id
          commentId: path.commentId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/comments/{commentId}/approve'].post
  update:
    x-apievangelist-phrasing:
      intent: Approve a comment awaiting review
      effect: write
      questions:
      - How do I approve a comment that is held for review?
      - Can I approve a comment on a password-protected video?
      instructions:
      - text: Approve comment {commentId} on video {id}.
        slots:
          id: path.id
          commentId: path.commentId
      - text: Approve the review-hold comment {commentId} of video {id}.
        slots:
          id: path.id
          commentId: path.commentId
      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-comments-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.