PeerTube · Schema
SendClientLog
VideoDecentralizedFederationOpen SourceActivityPubSelf-HostedStreaming
Properties
| Name | Type | Description |
|---|---|---|
| message | string | |
| url | string | URL of the current user page |
| level | object | |
| stackTrace | string | Stack trace of the error if there is one |
| userAgent | string | User agent of the web browser that sends the message |
| meta | string | Additional information regarding this log |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/peertube/main/json-schema/SendClientLog.json",
"title": "SendClientLog",
"properties": {
"message": {
"type": "string"
},
"url": {
"type": "string",
"description": "URL of the current user page"
},
"level": {
"enum": [
"error",
"warn"
]
},
"stackTrace": {
"type": "string",
"description": "Stack trace of the error if there is one"
},
"userAgent": {
"type": "string",
"description": "User agent of the web browser that sends the message"
},
"meta": {
"type": "string",
"description": "Additional information regarding this log"
}
},
"required": [
"message",
"url",
"level"
]
}