full diff

io.atcr.hold.requestCrew

seamark.cr +0 −0
From
bafyreibq6q4g23lovz5yhtc3sygycaxz2zsrs2bemws2awsjuw3ixef27y indexed 2026-02-18 19:30 UTC View this version
To
bafyreibq6q4g23lovz5yhtc3sygycaxz2zsrs2bemws2awsjuw3ixef27y indexed 2026-02-18 19:30 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "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.",
66 "errors": [
77 {
88 "name": "AuthRequired"
99 },
1010 {
1111 "name": "RegistrationDisabled"
1212 }
1313 ],
1414 "input": {
1515 "encoding": "application/json",
1616 "schema": {
1717 "properties": {
1818 "permissions": {
1919 "description": "Requested permissions (default: ['blob:read', 'blob:write'])",
2020 "items": {
2121 "maxLength": 64,
2222 "type": "string"
2323 },
2424 "type": "array"
2525 },
2626 "role": {
2727 "default": "member",
2828 "description": "Requested role (default: 'member')",
2929 "maxLength": 32,
3030 "type": "string"
3131 }
3232 },
3333 "type": "object"
3434 }
3535 },
3636 "output": {
3737 "encoding": "application/json",
3838 "schema": {
3939 "properties": {
4040 "cid": {
4141 "description": "CID of the crew record",
4242 "format": "cid",
4343 "type": "string"
4444 },
4545 "message": {
4646 "description": "Human-readable status message",
4747 "maxLength": 256,
4848 "type": "string"
4949 },
5050 "status": {
5151 "description": "Result status",
5252 "knownValues": [
5353 "created",
5454 "already_member"
5555 ],
5656 "maxLength": 32,
5757 "type": "string"
5858 },
5959 "uri": {
6060 "description": "AT-URI of the crew record (if created or already exists)",
6161 "format": "at-uri",
6262 "type": "string"
6363 }
6464 },
6565 "required": [
6666 "status"
6767 ],
6868 "type": "object"
6969 }
7070 },
7171 "type": "procedure"
7272 }
7373 },
7474 "id": "io.atcr.hold.requestCrew",
7575 "lexicon": 1
7676}