full diff

dev.knotless.setOrgMembership

From
bafyreiauwrilk5o4sf3to35bkra4yo3akus6zwue35f56ffgcpzwbgthqu indexed 2026-10-29 17:01 UTC View this version
To
bafyreidpp4jva4mikofqpleebg2kp2vrf5fcapvbrfrjwhdgwuddwnlxne indexed 2026-10-29 17:40 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "Writes the account's dev.knotless.membership record where the visibility says, in its public records or in the organization's space, takes back one in the other place, and asks the organization's gateway to take it in (dev.knotless.joinOrg). Requires the session cookie the pages' login sets: the appview acts with the session it keeps for that account. Clients holding their own session call the organization's gateway themselves.",
5 "description": "Writes the account's dev.knotless.orgAcceptance record where the visibility says, in its public records or in the organization's space, takes back one in the other place, and asks the organization's gateway to take it in (dev.knotless.joinOrg). Requires the session cookie the pages' login sets: the appview acts with the session it keeps for that account. Clients holding their own session call the organization's gateway themselves.",
66 "errors": [
77 {
88 "description": "The change was refused: by the organization's gateway, or as the account may not make it.",
99 "name": "InvalidRequest"
1010 },
1111 {
1212 "description": "No account is logged in to the pages, or its session has ended.",
1313 "name": "AuthenticationRequired"
1414 }
1515 ],
1616 "input": {
1717 "encoding": "application/json",
1818 "schema": {
1919 "properties": {
2020 "org": {
2121 "description": "The organization.",
2222 "format": "did",
2323 "type": "string"
2424 },
2525 "visibility": {
2626 "description": "Who may see the membership: anyone, or the organization's members alone.",
2727 "knownValues": [
2828 "public",
2929 "hidden"
3030 ],
3131 "maxLength": 64,
3232 "type": "string"
3333 }
3434 },
3535 "required": [
3636 "org",
3737 "visibility"
3838 ],
3939 "type": "object"
4040 }
4141 },
4242 "output": {
4343 "encoding": "application/json",
4444 "schema": {
4545 "properties": {
4646 "warning": {
4747 "description": "Set when the change was made only in part, saying what is left.",
4848 "maxLength": 2000,
4949 "type": "string"
5050 }
5151 },
5252 "type": "object"
5353 }
5454 },
5555 "type": "procedure"
5656 }
5757 },
5858 "description": "Joins an organization as the account logged in to this appview's pages, or shows or hides that membership, as `knotless org join` does.",
5959 "id": "dev.knotless.setOrgMembership",
6060 "lexicon": 1
6161}

Compare other versions