full diff

dev.knotless.revokeSession

From
bafyreiej2yc6ivnku73ghjg2hktaky4oqlic3deitlgjf7lrowxdoopw4a indexed 2026-11-18 22:52 UTC View this version
To
bafyreid7ikj6kqkgjk4lrmxjyug5glga7suu5gugirqx4nk5e7rucq7riq indexed 2026-11-19 00:01 UTC View this version

Compatibility

backward compatible Backward compatible. 6 non-breaking changes.

Non-breaking changes (6)
  • AddedVertex AddedVertex { vertex_id: "dev.knotless.listSessions#assistant" }
  • AddedVertex AddedVertex { vertex_id: "dev.knotless.revokeSession:output.assistants" }
  • AddedVertex AddedVertex { vertex_id: "dev.knotless.revokeSession:output.assistants:items" }
  • AddedEdge AddedEdge { src: "dev.knotless.revokeSession:output", tgt: "dev.knotless.revokeSession:output.assistants", kind: "prop", name: Some("assistants") }
  • AddedEdge AddedEdge { src: "dev.knotless.revokeSession:output.assistants", tgt: "dev.knotless.revokeSession:output.assistants:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "dev.knotless.revokeSession:output.assistants:items", tgt: "dev.knotless.listSessions#assistant", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "dev.knotless.listSessions#assistant" }
  • AddedVertex { vertex_id: "dev.knotless.revokeSession:output.assistants" }
  • AddedVertex { vertex_id: "dev.knotless.revokeSession:output.assistants:items" }

Notes

  • Non-breaking: AddedEdge { src: "dev.knotless.revokeSession:output", tgt: "dev.knotless.revokeSession:output.assistants", kind: "prop", name: Some("assistants") }
  • Non-breaking: AddedEdge { src: "dev.knotless.revokeSession:output.assistants", tgt: "dev.knotless.revokeSession:output.assistants:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "dev.knotless.revokeSession:output.assistants:items", tgt: "dev.knotless.listSessions#assistant", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Ends one login to this appview's pages of the account whose session cookie asks, as logging out in that browser or app would: its cookie holds no more. The last of the account's to end revokes the session the appview keeps at its PDS. Answers the logins left, as dev.knotless.listSessions does. Requires the session cookie the pages' login sets, from the pages themselves.",
66 "errors": [
77 {
88 "description": "The account has no such login: it ended already.",
99 "name": "NotFound"
1010 },
1111 {
1212 "description": "Sent from a page of another site.",
1313 "name": "Forbidden"
1414 },
1515 {
1616 "description": "No account is logged in to the pages, or its login has ended.",
1717 "name": "AuthenticationRequired"
1818 }
1919 ],
2020 "input": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
2424 "sessionId": {
2525 "description": "The login, as dev.knotless.listSessions names it.",
2626 "maxLength": 64,
2727 "type": "string"
2828 }
2929 },
3030 "required": [
3131 "sessionId"
3232 ],
3333 "type": "object"
3434 }
3535 },
3636 "output": {
3737 "encoding": "application/json",
3838 "schema": {
3939 "properties": {
40 "assistants": {
41 "description": "The assistants connected over MCP.",
42 "items": {
43 "ref": "dev.knotless.listSessions#assistant",
44 "type": "ref"
45 },
46 "type": "array"
47 },
4048 "sessions": {
4149 "items": {
4250 "ref": "dev.knotless.listSessions#session",
4351 "type": "ref"
4452 },
4553 "type": "array"
4654 }
4755 },
4856 "required": [
4957 "sessions"
5058 ],
5159 "type": "object"
5260 }
5361 },
5462 "type": "procedure"
5563 }
5664 },
5765 "description": "Logs one of the logins to this appview's pages out.",
5866 "id": "dev.knotless.revokeSession",
5967 "lexicon": 1
6068}

Compare other versions