PeerTube · Schema

ServerError

VideoDecentralizedFederationOpen SourceActivityPubSelf-HostedStreaming

Properties

Name Type Description
type string
detail string
status integer
code string
View JSON Schema on GitHub

JSON Schema

ServerError.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/peertube/main/json-schema/ServerError.json",
  "title": "ServerError",
  "properties": {
    "type": {
      "type": "string",
      "example": "https://docs.joinpeertube.org/api-rest-reference.html#section/Errors/video_requires_password"
    },
    "detail": {
      "type": "string",
      "example": "Please provide a password to access this password protected video"
    },
    "status": {
      "type": "integer",
      "example": 403
    },
    "code": {
      "type": "string",
      "example": "video_requires_password"
    }
  }
}