PeerTube Watched Words API

Manage list of watched words to detect patterns on objects (like comments of videos)

GitHub OpenAPI

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/watched-words/accounts/{accountName}/lists List an account's watched words · List account watched words #
Ask an LLM
“Which words is a specific user account watching?”
“Can I see the watched-words lists for one account?”
Tell an agent
List the watched words for account {accountName}.
Show every watched-words list {accountName} has set up.
POST /api/v1/watched-words/accounts/{accountName}/lists Add watched words for an account · Add account watched words #
Ask an LLM
“How do I add a new watched-words list for a user account?”
“Can I add several words to watch for one account?”
Tell an agent
Add watched words {words} to account {accountName}.
Create a watched-words list named {listName} for {accountName}.
PUT /api/v1/watched-words/accounts/{accountName}/lists/{listId} Update an account's watched-words list · Update account watched words #
Ask an LLM
“Can I change the words in an existing watched-words list for an account?”
“How do I rename a watched-words list on a user account?”
Tell an agent
Update watched-words list {listId} for account {accountName} with words {words}.
Rename watched-words list {listId} on {accountName} to {listName}.
DELETE /api/v1/watched-words/accounts/{accountName}/lists/{listId} Delete an account's watched-words list · Delete account watched words #
Ask an LLM
“How do I remove a watched-words list from a user account?”
“Can I delete a watched-words list on an account?”
Tell an agent destructive · confirm first
Delete watched-words list {listId} from account {accountName}.
Remove the watched-words list {listId} on {accountName}.
GET /api/v1/watched-words/server/lists List server-wide watched words · List server watched words #
Ask an LLM
“What words is the whole server watching?”
“Can I see the global watched-words lists?”
Tell an agent
List the server's watched-words lists.
Show every global watched-words list.
POST /api/v1/watched-words/server/lists Add a server-wide watched-words list · Add server watched words #
Ask an LLM
“How do I add a watched-words list that applies to the whole server?”
“Can I create a new global watched-words list?”
Tell an agent
Add a server-wide watched-words list with words {words}.
Create a global watched-words list named {listName}.
PUT /api/v1/watched-words/server/lists/{listId} Update a server-wide watched-words list · Update server watched words #
Ask an LLM
“Can I change the words in a global watched-words list?”
“How do I rename a server watched-words list?”
Tell an agent
Update global watched-words list {listId} with words {words}.
Rename server watched-words list {listId} to {listName}.
DELETE /api/v1/watched-words/server/lists/{listId} Delete a server-wide watched-words list · Delete server watched words #
Ask an LLM
“How do I remove a watched-words list from the whole server?”
“Can I delete a global watched-words list?”
Tell an agent destructive · confirm first
Delete server watched-words list {listId}.
Remove the global watched-words list {listId}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/peertube:peertube-watched-words-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

peertube-watched-words-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PeerTube Watched Words API
  version: 8.1.0
  contact:
    name: PeerTube Community
    url: https://joinpeertube.org
  license:
    name: AGPLv3.0
    url: https://github.com/Chocobozzz/PeerTube/blob/master/LICENSE
  x-logo:
    url: https://joinpeertube.org/img/brand.png
    altText: PeerTube Project Homepage
  description: The PeerTube API is built on HTTP(S) and is RESTful.
servers:
- url: https://peertube2.cpy.re
  description: Live Test Server (live data - latest nightly version)
- url: https://peertube3.cpy.re
  description: Live Test Server (live data - latest RC version)
- url: https://peertube.cpy.re
  description: Live Test Server (live data - stable version)
tags:
- name: Watched Words
  description: Manage list of watched words to detect patterns on objects (like comments of videos)
paths:
  /api/v1/watched-words/accounts/{accountName}/lists:
    get:
      tags:
      - Watched Words
      summary: List account watched words
      description: '**PeerTube >= 6.2**'
      security:
      - OAuth2: []
      parameters:
      - name: accountName
        in: path
        required: true
        description: account name to list watched words
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                properties:
                  total:
                    type: integer
                    example: 1
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/WatchedWordsLists'
      operationId: getApiV1WatchedWordsAccountsByAccountNameLists
      x-operation-id-source: derived
    post:
      tags:
      - Watched Words
      summary: Add account watched words
      description: '**PeerTube >= 6.2**'
      security:
      - OAuth2: []
      parameters:
      - name: accountName
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                listName:
                  type: string
                words:
                  type: array
                  items:
                    type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  watchedWordsList:
                    type: object
                    properties:
                      id:
                        type: integer
      operationId: postApiV1WatchedWordsAccountsByAccountNameLists
      x-operation-id-source: derived
  /api/v1/watched-words/accounts/{accountName}/lists/{listId}:
    put:
      tags:
      - Watched Words
      summary: Update account watched words
      description: '**PeerTube >= 6.2**'
      security:
      - OAuth2: []
      parameters:
      - name: accountName
        in: path
        required: true
        schema:
          type: string
      - name: listId
        in: path
        required: true
        description: list of watched words to update
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                listName:
                  type: string
                words:
                  type: array
                  items:
                    type: string
      responses:
        '204':
          description: successful operation
      operationId: putApiV1WatchedWordsAccountsByAccountNameListsByListId
      x-operation-id-source: derived
    delete:
      tags:
      - Watched Words
      summary: Delete account watched words
      description: '**PeerTube >= 6.2**'
      security:
      - OAuth2: []
      parameters:
      - name: accountName
        in: path
        required: true
        schema:
          type: string
      - name: listId
        in: path
        required: true
        description: list of watched words to delete
        schema:
          type: string
      responses:
        '204':
          description: successful operation
      operationId: deleteApiV1WatchedWordsAccountsByAccountNameListsByListId
      x-operation-id-source: derived
  /api/v1/watched-words/server/lists:
    get:
      tags:
      - Watched Words
      summary: List server watched words
      description: '**PeerTube >= 6.2**'
      security:
      - OAuth2:
        - admin
        - moderator
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                properties:
                  total:
                    type: integer
                    example: 1
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/WatchedWordsLists'
      operationId: getApiV1WatchedWordsServerLists
      x-operation-id-source: derived
    post:
      tags:
      - Watched Words
      summary: Add server watched words
      description: '**PeerTube >= 6.2**'
      security:
      - OAuth2:
        - admin
        - moderator
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                listName:
                  type: string
                words:
                  type: array
                  items:
                    type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  watchedWordsList:
                    type: object
                    properties:
                      id:
                        type: integer
      operationId: postApiV1WatchedWordsServerLists
      x-operation-id-source: derived
  /api/v1/watched-words/server/lists/{listId}:
    put:
      tags:
      - Watched Words
      summary: Update server watched words
      description: '**PeerTube >= 6.2**'
      security:
      - OAuth2:
        - admin
        - moderator
      parameters:
      - name: listId
        in: path
        required: true
        description: list of watched words to update
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                listName:
                  type: string
                words:
                  type: array
                  items:
                    type: string
      responses:
        '204':
          description: successful operation
      operationId: putApiV1WatchedWordsServerListsByListId
      x-operation-id-source: derived
    delete:
      tags:
      - Watched Words
      summary: Delete server watched words
      description: '**PeerTube >= 6.2**'
      security:
      - OAuth2:
        - admin
        - moderator
      parameters:
      - name: listId
        in: path
        required: true
        description: list of watched words to delete
        schema:
          type: string
      responses:
        '204':
          description: successful operation
      operationId: deleteApiV1WatchedWordsServerListsByListId
      x-operation-id-source: derived
components:
  schemas:
    id:
      type: integer
      minimum: 1
      example: 42
    WatchedWordsLists:
      properties:
        id:
          $ref: '#/components/schemas/id'
        listName:
          type: string
        words:
          type: array
          items:
            type: string
        updatedAt:
          type: string
          format: date-time
          example: '2021-05-04T08:01:01.502000+00:00'
        createdAt:
          type: string
          format: date-time
          example: '2021-05-04T08:01:01.502000+00:00'
  securitySchemes:
    OAuth2:
      description: 'Authenticating via OAuth requires the following steps:

        - Have an activated account

        - [Generate] an access token for that account at `/api/v1/users/token`.

        - Make requests with the *Authorization: Bearer <token\>* header

        - Profit, depending on the role assigned to the account


        Note that the __access token is valid for 1 day__ and is given

        along with a __refresh token valid for 2 weeks__.


        [Generate]: https://docs.joinpeertube.org/api/rest-getting-started

        '
      type: oauth2
      flows:
        password:
          tokenUrl: /api/v1/users/token
          scopes:
            admin: Admin scope
            moderator: Moderator scope
            user: User scope
externalDocs:
  url: https://docs.joinpeertube.org/api-rest-reference.html
x-tagGroups:
- name: Static endpoints
  tags:
  - Static Video Files
- name: Download
  tags:
  - Video Download
- name: Feeds
  tags:
  - Video Feeds
- name: Auth
  tags:
  - Register
  - Session
- name: Accounts
  tags:
  - Accounts
  - Users
  - User Exports
  - User Imports
  - My User
  - My Subscriptions
  - My Notifications
  - My History
- name: Videos
  tags:
  - Video
  - Video Upload
  - Video Imports
  - Video Captions
  - Video Chapters
  - Video Channels
  - Video Comments
  - Video Rates
  - Video Playlists
  - Video Stats
  - Ownership Change
  - Video Mirroring
  - Video Files
  - Video Transcoding
  - Live Videos
  - Channels Sync
  - Video Passwords
  - Video Embed Privacy
- name: Search
  tags:
  - Search
- name: Moderation
  tags:
  - Abuses
  - Video Blocks
  - Account Blocklist
  - Server Blocklist
  - Automatic Tags
  - Watched Words
- name: Instance
  tags:
  - Config
  - Client Config
  - Homepage
  - Instance Follows
  - Instance Redundancy
  - Plugins
  - Stats
  - Logs
  - Job
- name: Remote Jobs
  tags:
  - Runner Registration Token
  - Runner Jobs
  - Runners