{
"id": "place.stream.moderation.updateLivestream",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"streamer",
"livestreamUri"
],
"properties": {
"title": {
"type": "string",
"maxLength": 1400,
"description": "New title for the livestream.",
"maxGraphemes": 140
},
"streamer": {
"type": "string",
"format": "did",
"description": "The DID of the streamer."
},
"livestreamUri": {
"type": "string",
"format": "at-uri",
"description": "The AT-URI of the livestream record to update."
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "Unauthorized",
"description": "The request lacks valid authentication credentials."
},
{
"name": "Forbidden",
"description": "The caller does not have permission to update livestream metadata for this streamer."
},
{
"name": "SessionNotFound",
"description": "The streamer's OAuth session could not be found or is invalid."
},
{
"name": "RecordNotFound",
"description": "The specified livestream record does not exist."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"uri",
"cid"
],
"properties": {
"cid": {
"type": "string",
"format": "cid",
"description": "The CID of the updated livestream record."
},
"uri": {
"type": "string",
"format": "at-uri",
"description": "The AT-URI of the updated livestream record."
}
}
},
"encoding": "application/json"
},
"parameters": null,
"description": "Update livestream metadata on behalf of a streamer. Requires 'livestream.manage' permission. Updates a place.stream.livestream record in the streamer's repository."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}