PeerTube · Schema
Notification
VideoDecentralizedFederationOpen-SourceActivityPubSelf-HostedStreaming
Properties
| Name | Type | Description |
|---|---|---|
| id | object | |
| type | object | |
| read | boolean | |
| video | object | |
| videoImport | object | |
| comment | object | |
| videoAbuse | object | |
| videoBlacklist | object | |
| account | object | |
| actorFollow | object | |
| createdAt | string | |
| updatedAt | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/peertube/main/json-schema/Notification.json",
"title": "Notification",
"properties": {
"id": {
"$ref": "#/components/schemas/id"
},
"type": {
"$ref": "#/components/schemas/NotificationType"
},
"read": {
"type": "boolean"
},
"video": {
"nullable": true,
"allOf": [
{
"$ref": "#/components/schemas/VideoInfo"
},
{
"type": "object",
"properties": {
"channel": {
"$ref": "#/components/schemas/ActorInfo"
}
}
}
]
},
"videoImport": {
"nullable": true,
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/id"
},
"video": {
"nullable": true,
"allOf": [
{
"$ref": "#/components/schemas/VideoInfo"
}
]
},
"torrentName": {
"type": "string",
"nullable": true
},
"magnetUri": {
"$ref": "#/components/schemas/VideoImport/properties/magnetUri"
},
"targetUri": {
"type": "string",
"format": "uri",
"nullable": true
}
}
},
"comment": {
"nullable": true,
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/id"
},
"threadId": {
"type": "integer"
},
"video": {
"$ref": "#/components/schemas/VideoInfo"
},
"account": {
"$ref": "#/components/schemas/ActorInfo"
},
"heldForReview": {
"type": "boolean"
}
}
},
"videoAbuse": {
"nullable": true,
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/id"
},
"video": {
"allOf": [
{
"$ref": "#/components/schemas/VideoInfo"
}
]
}
}
},
"videoBlacklist": {
"nullable": true,
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/id"
},
"video": {
"allOf": [
{
"$ref": "#/components/schemas/VideoInfo"
}
]
}
}
},
"account": {
"nullable": true,
"allOf": [
{
"$ref": "#/components/schemas/ActorInfo"
}
]
},
"actorFollow": {
"type": "object",
"nullable": true,
"properties": {
"id": {
"$ref": "#/components/schemas/id"
},
"follower": {
"$ref": "#/components/schemas/ActorInfo"
},
"state": {
"type": "string",
"enum": [
"pending",
"accepted"
]
},
"following": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"account",
"channel",
"instance"
]
},
"name": {
"type": "string"
},
"displayName": {
"type": "string"
},
"host": {
"type": "string",
"format": "hostname"
}
}
}
}
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/Notification"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.