place.stream.media

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 with the owner's session. Without a record, one is built from the upload's livestream(s) (title, tags, activity, connections) and the given title and description.

Changed on
post/xrpc/place.stream.media.publishVideo

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

uploadIdstring required

The upload ID returned by place.stream.media.createUpload. Its processing must be complete (status 'done').

recordunknown
livestreamsstring[]

Livestream records the video came from, used to build the record when none is given; defaults to the upload's own livestream for a finalized recording.

titlestring

Title for a record built by the server; the first livestream's title when empty.

descriptionstring

Description for a record built by the server.

Response

Success

uristring uri required

AT-URI of the created place.stream.video record.

cidstring cid required

CID of the created place.stream.video record.

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      the request property became optional

    • breaking

      the request property became required

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property