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

Query

query · GET

Parameters

query string

repo

requiredstring · did

The streamer's DID.

Output

application/json

repoDID

requiredstring · did

uploads

requiredarray
itemsref
Reference

videos

requiredarray
itemsref
Reference

Errors

NotPermitted

The caller is neither the streamer nor a moderator with livestream.manage from them.

#upload

object

Properties

backend

requiredstring

blobSize

integer

createdAt

string · datetime

durationMs

integer

error

string

location

string

For a finalized recording, the livestream record it came from.

status

requiredstring

Processing status: pending, processing, done or error.

tracks

integer

How many track records the upload has published.

uploadId

requiredstring

#video

object

Properties

cid

requiredstring · cid

The livestream records the video is connected to.

itemsstring · at-uri

createdAt

string

durationMs

integer

thumb

boolean

Whether the record carries a thumbnail.

title

requiredstring

tracks

requiredarray

The track records the video's source points at.

itemsstring · at-uri

uri

requiredstring · at-uri

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • place.stream.media.publishVideo

    procedure not from the namespace authority

    Publish a place.stream.video record for a finished upload, server-side. The caller supplies the record it would otherwise putRecord itself; the server overrides the fields it is authoritative about (source tracks and durationMs, taken from the processed upload) and, if the record carries no thumb, generates one from the video and attaches it. The record is written to the authenticated user's repo. The caller must own the upload, or hold livestream.manage from its owner; the record is written wit

  • place.stream.media.getVideoList

    query not from the namespace authority

    List videos newest first. Scoped to a single repo when `repo` is supplied; otherwise lists videos across every indexed repo. Returns hydrated video views with author info and view counts.

  • place.stream.media.deleteVideo

    procedure not from the namespace authority

    Delete a place.stream.video record and, on request, the track records its source points at. The content blob and the upload stay, so the record can be published again from the same upload. The caller must be the record's owner or hold livestream.manage from them; the records are deleted with the owner's session.

  • place.stream.media.getUploadStatus

    query not from the namespace authority

    Get the processing status of a previously created upload. Only accessible by the DID that created the upload.

  • place.stream.media.updateVideo

    procedure not from the namespace authority

    Rewrite a place.stream.video record in place: retitle, redescribe or retag it, or point it at a finished upload's tracks (publishing them if the upload has none yet: the repair for a record published without tracks, or the way to point a record at a re-finalized VOD). Fields left out are kept; an empty description or tag list clears it. The caller must be the record's owner or hold livestream.manage from them; the record is written with the owner's session.