PeerTube · Schema

GetMeVideoRating

VideoDecentralizedFederationOpen SourceActivityPubSelf-HostedStreaming

Properties

Name Type Description
id object
rating string Rating of the video
View JSON Schema on GitHub

JSON Schema

GetMeVideoRating.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/peertube/main/json-schema/GetMeVideoRating.json",
  "title": "GetMeVideoRating",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/id"
    },
    "rating": {
      "type": "string",
      "enum": [
        "like",
        "dislike",
        "none"
      ],
      "description": "Rating of the video"
    }
  },
  "required": [
    "id",
    "rating"
  ]
}