{
"id": "place.stream.live.startLivestream",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"streamer",
"livestream"
],
"properties": {
"streamer": {
"type": "string",
"format": "did",
"description": "The DID of the streamer."
},
"livestream": {
"ref": "place.stream.livestream",
"type": "ref"
},
"createBlueskyPost": {
"type": "boolean",
"description": "Whether to create a Bluesky post announcing the livestream."
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"required": [
"uri",
"cid"
],
"properties": {
"cid": {
"type": "string",
"format": "cid",
"description": "The CID of the livestream record."
},
"uri": {
"type": "string",
"format": "uri",
"description": "The URI of the livestream record."
}
}
},
"encoding": "application/json"
},
"parameters": null,
"description": "Create a new place.stream.livestream record, automatically populating a thumbnail and creating a Bluesky post and whatnot. You can do this manually by creating a record but this method can work better for mobile livestreaming and such."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}