place.stream.media.listVideos
A streamer's place.stream.video records (read from their PDS) and this node's uploads for them: everything updateVideo, deleteVideo and publishVideo take. The caller must be the streamer or hold livestream.manage from them.
Details · query
| Kind | query |
|---|---|
| Authority | media.stream.place |
| Indexed |
Checks
Validunlimited-stringdefs.upload.properties.backendNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.upload.properties.contentCidNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.upload.properties.errorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.upload.properties.locationNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.upload.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.upload.properties.uploadIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.video.properties.createdAtNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.video.properties.titleNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A streamer's place.stream.video records (read from their PDS) and this node's uploads for them: everything updateVideo, deleteVideo and publishVideo take. The caller must be the streamer or hold livestream.manage from them.",
"errors": [
{
"description": "The caller is neither the streamer nor a moderator with livestream.manage from them.",
"name": "NotPermitted"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"repoDID": {
"format": "did",
"type": "string"
},
"uploads": {
"items": {
"ref": "#upload",
"type": "ref"
},
"type": "array"
},
"videos": {
"items": {
"ref": "#video",
"type": "ref"
},
"type": "array"
}
},
"required": [
"repoDID",
"videos",
"uploads"
],
"type": "object"
}
},
"parameters": {
"properties": {
"repo": {
"description": "The streamer's DID.",
"format": "did",
"type": "string"
}
},
"required": [
"repo"
],
"type": "params"
},
"type": "query"
},
"upload": {
"properties": {
"backend": {
"type": "string"
},
"blobSize": {
"type": "integer"
},
"contentCid": {
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"durationMs": {
"type": "integer"
},
"error": {
"type": "string"
},
"location": {
"description": "For a finalized recording, the livestream record it came from.",
"type": "string"
},
"status": {
"description": "Processing status: pending, processing, done or error.",
"type": "string"
},
"tracks": {
"description": "How many track records the upload has published.",
"type": "integer"
},
"uploadId": {
"type": "string"
}
},
"required": [
"uploadId",
"status",
"backend"
],
"type": "object"
},
"video": {
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"connections": {
"description": "The livestream records the video is connected to.",
"items": {
"format": "at-uri",
"type": "string"
},
"type": "array"
},
"createdAt": {
"type": "string"
},
"durationMs": {
"type": "integer"
},
"thumb": {
"description": "Whether the record carries a thumbnail.",
"type": "boolean"
},
"title": {
"type": "string"
},
"tracks": {
"description": "The track records the video's source points at.",
"items": {
"format": "at-uri",
"type": "string"
},
"type": "array"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid",
"title",
"tracks"
],
"type": "object"
}
},
"id": "place.stream.media.listVideos",
"lexicon": 1
}