PeerTube · Example Payload

Put_Api_V1_Watched Words_Accounts_Accountname_Lists_Listid

**PeerTube >= 6.2**

Watched Words

Put_Api_V1_Watched Words_Accounts_Accountname_Lists_Listid is an example object payload from PeerTube, with 9 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummarydescriptiontagsparametersrequestBodyresponses

Example Payload

Raw ↑
{
  "operationId": "put_api_v1_watched-words_accounts_accountName_lists_listId",
  "method": "PUT",
  "path": "/api/v1/watched-words/accounts/{accountName}/lists/{listId}",
  "summary": "Update account watched words",
  "description": "**PeerTube >= 6.2**",
  "tags": [
    "Watched Words"
  ],
  "parameters": [
    {
      "name": "accountName",
      "in": "path",
      "required": true,
      "description": "",
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "listId",
      "in": "path",
      "required": true,
      "description": "list of watched words to update",
      "schema": {
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "contentType": "application/json",
    "schema": {
      "type": "object",
      "properties": {
        "listName": {
          "type": "string"
        },
        "words": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "example": {}
  },
  "responses": {
    "204": {
      "description": "successful operation",
      "examples": {}
    }
  }
}