at.protocube.getDraft

Read the caller's working draft for one record. Another user's draft is NotFound, never Forbidden.

Repository @protocube.at did:plc:it2qbdcai2lchnnnt3caynqx namespace authority
Details · query
Kindquery
Authorityprotocube.at
Commit rev3n275pbmow62v
Indexed

Query

query · GET

Parameters

query string

collection

requiredstring · nsid

rkey

requiredstring · record-key

Output

application/json
Reference

Errors

NotFound

No description in schema.

InvalidRequest

No description in schema.

Unauthorized

No description in schema.

#draftRecord

object

Properties

baseCid

string · cid

payload

requiredunknown

updatedAt

requiredstring · datetime

#draftView

object

Properties

draft

requiredref
Reference

Similar lexicons

semantic match

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

  • Get a single draft document by TID.

  • Get private metadata for one Draft when the authenticated member is a Party. A missing Draft and a Draft outside the caller's Parties both return DraftNotFound so existence is not disclosed. Draft bytes use a separate authorized path.

  • Create or replace the caller's working draft for one record. The owner is the service-auth token's issuer; a client never sends a DID.

  • place.stream.vod.getDraft

    query not from the namespace authority

    Get a single draft VOD by its ats:// URI. Only accessible by the draft's author.