io.atcr.hold.requestCrew

Request crew membership for the hold. Authorization depends on the captain record: if allowAllCrew is true, any authenticated user can join; otherwise, only the owner can join.

Repository @seamark.cr did:plc:wfj5kyialpmcv2fzk6uqwsln namespace authority
Details · procedure
Kindprocedure
Authorityhold.atcr.io
Indexed

Procedure

procedure · POST

Input

application/json

Requested permissions (default: ['blob:read', 'blob:write'])

itemsstring
  • maxLength: 64

role

string

Requested role (default: 'member')

  • maxLength: 32
  • default: "member"

Output

application/json

cid

string · cid

CID of the crew record

message

string

Human-readable status message

  • maxLength: 256

status

requiredstring

Result status

  • maxLength: 32
  • knownValues: created | already_member

uri

string · at-uri

AT-URI of the crew record (if created or already exists)

Errors

AuthRequired

No description in schema.

RegistrationDisabled

No description in schema.

Similar lexicons

semantic match

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

  • Crew member in a hold's embedded PDS. Grants access permissions to push blobs to the hold. Stored in the hold's embedded PDS (one record per member).