PeerTube · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PeerTube Account Blocklist API

8 actions 8 updates phrasing extends openapi/peertube-account-blocklist-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 8

$.info
$.paths['/api/v1/blocklist/status'].get
$.paths['/api/v1/users/me/blocklist/accounts'].get
$.paths['/api/v1/users/me/blocklist/accounts'].post
$.paths['/api/v1/users/me/blocklist/accounts/{accountName}'].delete
$.paths['/api/v1/users/me/blocklist/servers'].get
$.paths['/api/v1/users/me/blocklist/servers'].post
$.paths['/api/v1/users/me/blocklist/servers/{host}'].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 Account Blocklist API
  version: 1.0.0
extends: openapi/peertube-account-blocklist-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: 7
- target: $.paths['/api/v1/blocklist/status'].get
  update:
    x-apievangelist-phrasing:
      intent: Check whether accounts or hosts are blocked
      effect: read
      questions:
      - Is a particular account or server on my blocklist?
      - Can I check block status for several accounts and hosts at once?
      instructions:
      - text: Check block status for accounts {accounts}.
        slots:
          accounts: query.accounts
      - text: Check whether hosts {hosts} are blocked.
        slots:
          hosts: query.hosts
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/me/blocklist/accounts'].get
  update:
    x-apievangelist-phrasing:
      intent: List accounts I have blocked
      effect: read
      questions:
      - Which accounts have I blocked?
      - Can I search through my blocked accounts?
      instructions:
      - text: List the accounts I have blocked.
      - text: Search my blocked accounts for {search}.
        slots:
          search: query.search
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/me/blocklist/accounts'].post
  update:
    x-apievangelist-phrasing:
      intent: Block an account
      effect: write
      questions:
      - How do I block a user account?
      - Can I block an account by its full name@host?
      instructions:
      - text: Block account {accountName}.
        slots:
          accountName: requestBody.accountName
      - text: Add {accountName} to my blocklist.
        slots:
          accountName: requestBody.accountName
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/me/blocklist/accounts/{accountName}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Unblock an account
      effect: destructive
      questions:
      - How do I unblock a user account?
      - Can I remove an account from my blocklist?
      instructions:
      - text: Unblock account {accountName}.
        slots:
          accountName: path.accountName
      - text: Remove {accountName} from my blocklist.
        slots:
          accountName: path.accountName
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/me/blocklist/servers'].get
  update:
    x-apievangelist-phrasing:
      intent: List servers I have blocked
      effect: read
      questions:
      - Which servers have I blocked?
      - Can I search through my blocked servers?
      instructions:
      - text: List the servers I have blocked.
      - text: Search my blocked servers for {search}.
        slots:
          search: query.search
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/me/blocklist/servers'].post
  update:
    x-apievangelist-phrasing:
      intent: Block a server
      effect: write
      questions:
      - How do I block a server?
      - Can I block a server by its hostname?
      instructions:
      - text: Block server {host}.
        slots:
          host: requestBody.host
      - text: Add {host} to my server blocklist.
        slots:
          host: requestBody.host
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/me/blocklist/servers/{host}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Unblock a server
      effect: destructive
      questions:
      - How do I unblock a server?
      - Can I remove a server from my blocklist?
      instructions:
      - text: Unblock server {host}.
        slots:
          host: path.host
      - text: Remove {host} from my server blocklist.
        slots:
          host: path.host
      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-account-blocklist-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.