PeerTube · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PeerTube Abuses API

9 actions 9 updates phrasing extends openapi/peertube-abuses-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/abuses'].get
$.paths['/api/v1/abuses'].get
$.paths['/api/v1/abuses'].post
$.paths['/api/v1/abuses/{abuseId}'].put
$.paths['/api/v1/abuses/{abuseId}'].delete
$.paths['/api/v1/abuses/{abuseId}/messages'].get
$.paths['/api/v1/abuses/{abuseId}/messages'].post
$.paths['/api/v1/abuses/{abuseId}/messages/{abuseMessageId}'].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 Abuses API
  version: 1.0.0
extends: openapi/peertube-abuses-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/abuses'].get
  update:
    x-apievangelist-phrasing:
      intent: List the reports I filed
      effect: read
      questions:
      - Which content reports have I filed myself?
      - Can I see only my own abuse reports?
      instructions:
      - text: List my own abuse reports.
      - text: Show my abuse report {id}.
        slots:
          id: query.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/abuses'].get
  update:
    x-apievangelist-phrasing:
      intent: List all reported abuses
      effect: read
      questions:
      - Which videos, comments or accounts have been reported for abuse?
      - Can I filter reported abuses by predefined reason or state?
      - Is there a way to search all abuse reports by video title?
      instructions:
      - text: List all abuse reports.
      - text: List abuse reports with predefined reason {predefinedReason}.
        slots:
          predefinedReason: query.predefinedReason
      - text: Search all abuse reports for {search}.
        slots:
          search: query.search
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/abuses'].post
  update:
    x-apievangelist-phrasing:
      intent: Report a video, comment or account for abuse
      effect: write
      questions:
      - How do I report a video for copyright infringement?
      - Can I report a comment or account as abusive?
      instructions:
      - text: Report video {video} for {reason}.
        slots:
          video: requestBody.video
          reason: requestBody.reason
      - text: Report comment {comment} for {reason}.
        slots:
          comment: requestBody.comment
          reason: requestBody.reason
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/abuses/{abuseId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an abuse report
      effect: write
      questions:
      - Can I change the state of an abuse report?
      - How do I add a moderation comment to a report?
      instructions:
      - text: Set abuse report {abuseId} to state {state}.
        slots:
          abuseId: path.abuseId
          state: requestBody.state
      - text: Add moderation comment {moderationComment} to abuse report {abuseId}.
        slots:
          moderationComment: requestBody.moderationComment
          abuseId: path.abuseId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/abuses/{abuseId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an abuse report
      effect: destructive
      questions:
      - Can I delete an abuse report I filed by mistake?
      - What happens when I remove a report?
      instructions:
      - text: Delete abuse report {abuseId}.
        slots:
          abuseId: path.abuseId
      - text: Remove the report I filed with id {abuseId}.
        slots:
          abuseId: path.abuseId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/abuses/{abuseId}/messages'].get
  update:
    x-apievangelist-phrasing:
      intent: List messages on an abuse report
      effect: read
      questions:
      - What messages have been exchanged on an abuse report?
      - Can I read the moderation team's notes on a report?
      instructions:
      - text: List messages on abuse report {abuseId}.
        slots:
          abuseId: path.abuseId
      - text: Show the moderation notes for report {abuseId}.
        slots:
          abuseId: path.abuseId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/abuses/{abuseId}/messages'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a message to an abuse report
      effect: write
      questions:
      - How do I send a message to the moderation team about a report?
      - Can I reply to an abuse report with a note?
      instructions:
      - text: Add message {message} to abuse report {abuseId}.
        slots:
          message: requestBody.message
          abuseId: path.abuseId
      - text: Send a moderation note {message} on report {abuseId}.
        slots:
          message: requestBody.message
          abuseId: path.abuseId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/abuses/{abuseId}/messages/{abuseMessageId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a message on an abuse report
      effect: destructive
      questions:
      - Can I delete a message I posted on an abuse report?
      - What removes a moderation note from a report?
      instructions:
      - text: Delete message {abuseMessageId} from abuse report {abuseId}.
        slots:
          abuseMessageId: path.abuseMessageId
          abuseId: path.abuseId
      - text: Remove my note {abuseMessageId} on report {abuseId}.
        slots:
          abuseMessageId: path.abuseMessageId
          abuseId: path.abuseId
      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-abuses-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.