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.

Repository @stream.place did:plc:rbvrr34edl5ddpuwcubjiost not from the namespace authority
Details · query
Kindquery
Authoritymedia.stream.place
Indexed
cid bafyreiasfjmvcv3sc6fysen3v77e7r66le7iamxbuxfbkklbs53afmmplm

Checks

Valid
JSONDownload
{
  "$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
}