full diff

io.atcr.hold.updateCrewTier

From
bafyreihltnsiqvt2mc6zy3yrgargiswb5hjmzcewg4qf6mrrly4zvxdwxa indexed 2026-11-13 07:55 UTC View this version
To
bafyreihltnsiqvt2mc6zy3yrgargiswb5hjmzcewg4qf6mrrly4zvxdwxa indexed 2026-11-13 07:55 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Update a crew member's tier. Only accepts requests from the trusted appview.",
66 "errors": [
77 {
88 "description": "Valid appview token required.",
99 "name": "AuthRequired"
1010 },
1111 {
1212 "description": "User is not a crew member on this hold.",
1313 "name": "UserNotFound"
1414 }
1515 ],
1616 "input": {
1717 "encoding": "application/json",
1818 "schema": {
1919 "properties": {
2020 "tierRank": {
2121 "description": "Tier rank index (0-based, maps to hold tier list by position).",
2222 "minimum": 0,
2323 "type": "integer"
2424 },
2525 "userDid": {
2626 "description": "DID of the crew member whose tier is being updated.",
2727 "format": "did",
2828 "type": "string"
2929 }
3030 },
3131 "required": [
3232 "userDid",
3333 "tierRank"
3434 ],
3535 "type": "object"
3636 }
3737 },
3838 "output": {
3939 "encoding": "application/json",
4040 "schema": {
4141 "properties": {
4242 "tierName": {
4343 "description": "Resolved tier name on this hold.",
4444 "maxLength": 64,
4545 "type": "string"
4646 }
4747 },
4848 "required": [
4949 "tierName"
5050 ],
5151 "type": "object"
5252 }
5353 },
5454 "type": "procedure"
5555 }
5656 },
5757 "id": "io.atcr.hold.updateCrewTier",
5858 "lexicon": 1
5959}