PeerTube · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PeerTube Server Blocklist API

8 actions 8 updates phrasing extends openapi/peertube-server-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/server/blocklist/accounts'].get
$.paths['/api/v1/server/blocklist/accounts'].post
$.paths['/api/v1/server/blocklist/accounts/{accountName}'].delete
$.paths['/api/v1/server/blocklist/servers'].get
$.paths['/api/v1/server/blocklist/servers'].post
$.paths['/api/v1/server/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 Server Blocklist API
  version: 1.0.0
extends: openapi/peertube-server-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 blocked on my PeerTube server?
      - Can I check the blocklist status of several hosts at once?
      instructions:
      - text: Check whether accounts {accounts} are blocked.
        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/server/blocklist/accounts'].get
  update:
    x-apievangelist-phrasing:
      intent: List accounts blocked by the server
      effect: read
      questions:
      - Which accounts has my server blocked?
      - Can I sort the list of blocked accounts?
      instructions:
      - text: List the accounts blocked by my server.
      - text: Show {count} blocked accounts sorted by {sort}.
        slots:
          count: query.count
          sort: query.sort
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/server/blocklist/accounts'].post
  update:
    x-apievangelist-phrasing:
      intent: Block an account on the server
      effect: write
      questions:
      - How do I block a spam account on my server?
      - Can I block an account by its username@domain?
      instructions:
      - text: Block account {accountName} on my server.
        slots:
          accountName: requestBody.accountName
      - text: Add {accountName} to the server blocklist.
        slots:
          accountName: requestBody.accountName
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/server/blocklist/accounts/{accountName}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Unblock an account on the server
      effect: destructive
      questions:
      - How do I unblock an account I blocked by mistake?
      - Can I remove one account from the server blocklist?
      instructions:
      - text: Unblock account {accountName} on my server.
        slots:
          accountName: path.accountName
      - text: Remove {accountName} from the server blocklist.
        slots:
          accountName: path.accountName
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/server/blocklist/servers'].get
  update:
    x-apievangelist-phrasing:
      intent: List servers blocked by the server
      effect: read
      questions:
      - Which remote servers has my server blocked?
      - Can I sort the list of blocked servers?
      instructions:
      - text: List the servers blocked by my server.
      - text: Show {count} blocked servers sorted by {sort}.
        slots:
          count: query.count
          sort: query.sort
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/server/blocklist/servers'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a server to the blocklist
      effect: write
      questions:
      - How do I block a federated server from my PeerTube instance?
      - Can I block a specific server by its hostname?
      instructions:
      - text: Block the 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/server/blocklist/servers/{host}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a server from the blocklist
      effect: destructive
      questions:
      - How do I allow a server back on my PeerTube instance?
      - Can I unblock a single hostname?
      instructions:
      - text: Unblock the 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-server-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.