PeerTube · Example Payload

Post_Api_V1_Config_Instance Banner_Pick

Config

Post_Api_V1_Config_Instance Banner_Pick 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": "post_api_v1_config_instance-banner_pick",
  "method": "POST",
  "path": "/api/v1/config/instance-banner/pick",
  "summary": "Update instance banner",
  "description": "",
  "tags": [
    "Config"
  ],
  "parameters": [],
  "requestBody": {
    "contentType": "multipart/form-data",
    "schema": {
      "type": "object",
      "properties": {
        "bannerfile": {
          "description": "The file to upload.",
          "type": "string",
          "format": "binary"
        }
      }
    },
    "example": {}
  },
  "responses": {
    "204": {
      "description": "successful operation",
      "examples": {}
    },
    "413": {
      "description": "image file too large",
      "examples": {}
    }
  }
}