full diff

site.mochott.account.getAuthorization

tokimeki.blue +14 −2
From
bafyreihk3vlb5swjskn6cziopezcmhkq3yzc3rkzliutl5q4f4p4zmohni indexed 2026-11-05 07:48 UTC View this version
To
bafyreihafveyk4aevpi76zbhswche6ais43l7gdzf33b2ccudvlad7teky indexed 2026-11-05 10:28 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "site.mochott.account.getAuthorization:params" }
  • AddedEdge AddedEdge { src: "site.mochott.account.getAuthorization", tgt: "site.mochott.account.getAuthorization:params", kind: "prop", name: Some("parameters") }

Migration guidance

Added

  • AddedVertex { vertex_id: "site.mochott.account.getAuthorization:params" }

Notes

  • Non-breaking: AddedEdge { src: "site.mochott.account.getAuthorization", tgt: "site.mochott.account.getAuthorization:params", kind: "prop", name: Some("parameters") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "A client writing long posts asks this before the first one. Without the authorization, mochott cannot delete an article whose long post was deleted in an app that deletes posts alone; the client should then open authorizeUrl so the account signs in to mochott once.",
66 "output": {
77 "encoding": "application/json",
88 "schema": {
99 "properties": {
1010 "authorizeUrl": {
11 "description": "Where the account signs in to mochott. After signing in it lands on the mochott dashboard.",
11 "description": "Where the account signs in to mochott. After signing in it lands on the mochott dashboard, or with display=popup on a page that closes itself.",
1212 "format": "uri",
1313 "type": "string"
1414 },
1515 "authorized": {
1616 "description": "mochott holds a live authorization for the account.",
1717 "type": "boolean"
1818 }
1919 },
2020 "required": [
2121 "authorized",
2222 "authorizeUrl"
2323 ],
2424 "type": "object"
2525 }
2626 },
27 "parameters": {
28 "properties": {
29 "display": {
30 "description": "How the client opens authorizeUrl. 'popup': in a popup window; the sign-in then ends on a mochott page that closes itself (the PDS's authorization page sends Cross-Origin-Opener-Policy, so window.opener is gone and nothing is posted back: check again when the client's window regains focus). Omitted or unknown: the sign-in ends on the mochott dashboard.",
31 "knownValues": [
32 "popup"
33 ],
34 "type": "string"
35 }
36 },
37 "type": "params"
38 },
2739 "type": "query"
2840 }
2941 },
3042 "description": "Whether mochott holds the requesting account's authorization (OAuth). Requires auth.",
3143 "id": "site.mochott.account.getAuthorization",
3244 "lexicon": 1,
33 "revision": 1
45 "revision": 2
3446}

Compare other versions