PeerTube · Example Payload

Putcustomconfig

Config

Putcustomconfig 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": "putCustomConfig",
  "method": "PUT",
  "path": "/api/v1/config/custom",
  "summary": "Set instance runtime configuration",
  "description": "",
  "tags": [
    "Config"
  ],
  "parameters": [],
  "requestBody": null,
  "responses": {
    "200": {
      "description": "successful operation",
      "examples": {}
    },
    "400": {
      "description": "Arises when:\n  - the emailer is disabled and the instance is open to registrations\n  - web videos and hls are disabled with transcoding enabled - you need at least one enabled\n",
      "examples": {}
    }
  }
}