PeerTube · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PeerTube Users API

15 actions 15 updates phrasing extends openapi/peertube-users-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 15

$.info
$.paths['/api/v1/users'].get
$.paths['/api/v1/users'].post
$.paths['/api/v1/users/{id}'].get
$.paths['/api/v1/users/{id}'].put
$.paths['/api/v1/users/{id}'].delete
$.paths['/api/v1/users/{id}/block'].post
$.paths['/api/v1/users/{id}/unblock'].post
$.paths['/api/v1/users/ask-send-verify-email'].post
$.paths['/api/v1/users/{id}/verify-email'].post
$.paths['/api/v1/users/ask-reset-password'].post
$.paths['/api/v1/users/{id}/reset-password'].post
$.paths['/api/v1/users/{id}/two-factor/request'].post
$.paths['/api/v1/users/{id}/two-factor/confirm-request'].post
$.paths['/api/v1/users/{id}/two-factor/disable'].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 Users API
  version: 1.0.0
extends: openapi/peertube-users-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: 14
- target: $.paths['/api/v1/users'].get
  update:
    x-apievangelist-phrasing:
      intent: List users
      effect: read
      questions:
      - Which users are blocked or banned on my PeerTube instance?
      - Can I search users by username or email?
      instructions:
      - text: List all users.
      - text: Find users whose username or email matches {search}.
        slots:
          search: query.search
      - text: List users with role {role}.
        slots:
          role: query.role
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a user
      effect: write
      questions:
      - How do I create a new user account with a username and password?
      - Can I set a video quota and role when creating a user?
      instructions:
      - text: Create a user {username} with email {email} and password {password} as role {role}.
        slots:
          username: requestBody.username
          email: requestBody.email
          password: requestBody.password
          role: requestBody.role
      - text: Add user {username} with {videoQuota} bytes of video quota.
        slots:
          username: requestBody.username
          videoQuota: requestBody.videoQuota
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a user
      effect: read
      questions:
      - What are the details of a specific user?
      - Can I include a user's statistics when fetching them?
      instructions:
      - text: Get user {id}.
        slots:
          id: path.id
      - text: Show user {id} with their stats.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a user
      effect: write
      questions:
      - How do I change a user's email or password?
      - Can I adjust a user's video quota or role?
      instructions:
      - text: Update user {id} email to {email}.
        slots:
          id: path.id
          email: requestBody.email
      - text: Set the password of user {id} to {password}.
        slots:
          id: path.id
          password: requestBody.password
      - text: Change user {id}'s role to {role}.
        slots:
          id: path.id
          role: requestBody.role
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a user
      effect: destructive
      questions:
      - How do I delete a user account?
      - Can I remove a user from my instance?
      instructions:
      - text: Delete user {id}.
        slots:
          id: path.id
      - text: Remove the user account {id} from the instance.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/{id}/block'].post
  update:
    x-apievangelist-phrasing:
      intent: Block a user
      effect: destructive
      questions:
      - How do I prevent a user from logging in and interacting with my instance?
      - Can I record a reason when blocking a user?
      instructions:
      - text: Block user {id}.
        slots:
          id: path.id
      - text: Block user {id} because {reason}.
        slots:
          id: path.id
          reason: requestBody.reason
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/{id}/unblock'].post
  update:
    x-apievangelist-phrasing:
      intent: Unblock a user
      effect: write
      questions:
      - How do I allow a previously blocked user to log in again?
      - Can I unblock a user without knowing their password?
      instructions:
      - text: Unblock user {id}.
        slots:
          id: path.id
      - text: Allow blocked user {id} to interact with the instance again.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/ask-send-verify-email'].post
  update:
    x-apievangelist-phrasing:
      intent: Resend a user verification email
      effect: write
      questions:
      - How do I resend the email a new user needs to verify their account?
      - Can I trigger a verification email for a user by email address?
      instructions:
      - text: Resend the verification email to {email}.
        slots:
          email: requestBody.email
      - text: Send a new verification link to the user with email {email}.
        slots:
          email: requestBody.email
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/{id}/verify-email'].post
  update:
    x-apievangelist-phrasing:
      intent: Verify a user's email
      effect: write
      questions:
      - How do I verify a new user's email address after they register?
      - Can I verify a pending email change on a user account?
      instructions:
      - text: Verify user {id} with verification string {verificationString}.
        slots:
          id: path.id
          verificationString: requestBody.verificationString
      - text: Confirm the pending email change for user {id} using {verificationString}.
        slots:
          id: path.id
          verificationString: requestBody.verificationString
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/ask-reset-password'].post
  update:
    x-apievangelist-phrasing:
      intent: Request a password reset
      effect: write
      questions:
      - How do I send a user a link to reset their password?
      - Can I trigger a password reset email for a user by email address?
      instructions:
      - text: Ask for a password reset for {email}.
        slots:
          email: requestBody.email
      - text: Send a reset password email to the user with email {email}.
        slots:
          email: requestBody.email
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/{id}/reset-password'].post
  update:
    x-apievangelist-phrasing:
      intent: Reset a user's password
      effect: write
      questions:
      - How do I set a new password for a user using the verification string from their reset email?
      - Can I complete a password reset with the token from the reset link?
      instructions:
      - text: Reset the password of user {id} to {password} using verification string {verificationString}.
        slots:
          id: path.id
          password: requestBody.password
          verificationString: requestBody.verificationString
      - text: Complete the password reset for user {id} with token {verificationString} and new password {password}.
        slots:
          id: path.id
          verificationString: requestBody.verificationString
          password: requestBody.password
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/{id}/two-factor/request'].post
  update:
    x-apievangelist-phrasing:
      intent: Request two-factor authentication for a user
      effect: write
      questions:
      - How do I start setting up two-factor authentication for a user?
      - Can I request two-factor setup for a user with their current password?
      instructions:
      - text: Request two-factor authentication for user {id}.
        slots:
          id: path.id
      - text: Start two-factor setup for user {id} using current password {currentPassword}.
        slots:
          id: path.id
          currentPassword: requestBody.currentPassword
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/{id}/two-factor/confirm-request'].post
  update:
    x-apievangelist-phrasing:
      intent: Confirm a two-factor authentication request
      effect: write
      questions:
      - How do I confirm a two-factor authentication request with the token from my authenticator app?
      - Can I finish two-factor setup for a user with the request token and OTP?
      instructions:
      - text: Confirm two-factor request {requestToken} for user {id} with OTP {otpToken}.
        slots:
          requestToken: requestBody.requestToken
          id: path.id
          otpToken: requestBody.otpToken
      - text: Complete two-factor setup for user {id} using request token {requestToken} and code {otpToken}.
        slots:
          id: path.id
          requestToken: requestBody.requestToken
          otpToken: requestBody.otpToken
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/users/{id}/two-factor/disable'].post
  update:
    x-apievangelist-phrasing:
      intent: Disable two-factor authentication for a user
      effect: destructive
      questions:
      - How do I turn off two-factor authentication for a user?
      - Can I disable two-factor for a user with their current password?
      instructions:
      - text: Disable two-factor authentication for user {id}.
        slots:
          id: path.id
      - text: Turn off two-factor for user {id} using current password {currentPassword}.
        slots:
          id: path.id
          currentPassword: requestBody.currentPassword
      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-users-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.