List the authenticated user's draft VODs, newest first.
GET
/xrpc/place.stream.vod.listDrafts
const url = 'https://example.com/xrpc/place.stream.vod.listDrafts?limit=50';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/xrpc/place.stream.vod.listDrafts?limit=50'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
Number of drafts to return.
integer
Number of drafts to return.
cursor
Pagination cursor from a previous response.
string
Pagination cursor from a previous response.
Responses
Section titled “Responses”Success
Media typeapplication/json
object
drafts
required
Array<object>
A draft VOD with its ats:// URI and CID, for list/get responses.
object
uri
required
The ats:// URI of the draft record.
string
cid
required
CID (sha256 of CBOR record bytes, base32) of the draft record.
string
record
required
The place.stream.vod.draftVideo record body. Typed as unknown (matching commentView/livestreamView/videoView) because the @atproto/api client validator cannot validate a ref to a record-type lexicon.
cursor
Pagination cursor for the next page, if more results exist.
string
Example generated
{ "drafts": [ { "uri": "example", "cid": "example", "record": "example" } ], "cursor": "example"}