full diff

org.cairnsproto.draft.listNotifications

cairnsproto.org +1 −0
From
bafyreigoaunhab4upn2svu2ly4fndmibau3oo2bhc7uc7trfmss2ohtxcm indexed 2026-11-06 01:44 UTC View this version
To
bafyreiaerz6difwdj4wsbcf3ihy4iap35yeexvksugmuiq26mbkl6qop5i indexed 2026-11-10 17:47 UTC View this version

Compatibility

breaking 1 breaking change, 0 non-breaking changes.

Breaking changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "org.cairnsproto.draft.listNotifications#notification.kind", sort: "knownValues", old_value: "[\"contested\",\"hollow\",\"lostLead\",\"issueComment\",\"issueState\",\"diverges\",\"drawClosing\",\"versionWaiting\",\"versionActive\",\"dormancyAging\",\"dormant\",\"followedStone\",\"exported\",\"corrected\"]", new_value: "[\"contested\",\"hollow\",\"lostLead\",\"issueComment\",\"issueState\",\"diverges\",\"drawClosing\",\"versionWaiting\",\"versionActive\",\"escalated\",\"dormancyAging\",\"dormant\",\"followedStone\",\"exported\",\"corrected\"]" }

Migration guidance

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "org.cairnsproto.draft.listNotifications#notification.kind", sort: "knownValues", old_value: "[\"contested\",\"hollow\",\"lostLead\",\"issueComment\",\"issueState\",\"diverges\",\"drawClosing\",\"versionWaiting\",\"versionActive\",\"dormancyAging\",\"dormant\",\"followedStone\",\"exported\",\"corrected\"]", new_value: "[\"contested\",\"hollow\",\"lostLead\",\"issueComment\",\"issueState\",\"diverges\",\"drawClosing\",\"versionWaiting\",\"versionActive\",\"escalated\",\"dormancyAging\",\"dormant\",\"followedStone\",\"exported\",\"corrected\"]" }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Events for a DID, oldest first, after a cursor. Each names the records it was derived from. Read state stays with the client.",
66 "output": {
77 "encoding": "application/json",
88 "schema": {
99 "properties": {
1010 "cursor": {
1111 "description": "Where the next page starts. Present when more notifications follow.",
1212 "maxLength": 1024,
1313 "type": "string"
1414 },
1515 "notifications": {
1616 "items": {
1717 "ref": "#notification",
1818 "type": "ref"
1919 },
2020 "type": "array"
2121 }
2222 },
2323 "required": [
2424 "notifications"
2525 ],
2626 "type": "object"
2727 }
2828 },
2929 "parameters": {
3030 "properties": {
3131 "cursor": {
3232 "maxLength": 1024,
3333 "type": "string"
3434 },
3535 "did": {
3636 "format": "did",
3737 "type": "string"
3838 },
3939 "limit": {
4040 "default": 50,
4141 "maximum": 100,
4242 "minimum": 1,
4343 "type": "integer"
4444 }
4545 },
4646 "required": [
4747 "did"
4848 ],
4949 "type": "params"
5050 },
5151 "type": "query"
5252 },
5353 "notification": {
5454 "properties": {
5555 "cursor": {
5656 "description": "The cursor that lists the events after this one.",
5757 "maxLength": 1024,
5858 "type": "string"
5959 },
6060 "kind": {
6161 "knownValues": [
6262 "contested",
6363 "hollow",
6464 "lostLead",
6565 "issueComment",
6666 "issueState",
6767 "diverges",
6868 "drawClosing",
6969 "versionWaiting",
7070 "versionActive",
71 "escalated",
7172 "dormancyAging",
7273 "dormant",
7374 "followedStone",
7475 "exported",
7576 "corrected"
7677 ],
7778 "maxLength": 64,
7879 "type": "string"
7980 },
8081 "project": {
8182 "ref": "com.atproto.repo.strongRef",
8283 "type": "ref"
8384 },
8485 "records": {
8586 "description": "The records the event was derived from: the snapshot and the one it names as previous, the comment or issueState, the import result, the project version, the pending work's record, the stone, or the export and any earlier export it corrects. Empty for drawClosing, which the beacon raises.",
8687 "items": {
8788 "ref": "com.atproto.repo.strongRef",
8889 "type": "ref"
8990 },
9091 "type": "array"
9192 },
9293 "seenRound": {
9394 "description": "When the indexer saw the record that raised the event, or for an event the round raises (drawClosing, versionActive, dormancyAging, dormant), the round it came due.",
9495 "minimum": 1,
9596 "type": "integer"
9697 },
9798 "site": {
9899 "description": "The key (hex) of the site the event is about.",
99100 "maxLength": 64,
100101 "minLength": 64,
101102 "type": "string"
102103 },
103104 "subject": {
104105 "description": "The recipient's stone (contested, hollow, lostLead, diverges), the issue, the followed sponsor's stone, the export, the waiting project version, the pending maintainer work's record, or for drawClosing the project.",
105106 "ref": "com.atproto.repo.strongRef",
106107 "type": "ref"
107108 }
108109 },
109110 "required": [
110111 "kind",
111112 "seenRound",
112113 "project",
113114 "subject",
114115 "records",
115116 "cursor"
116117 ],
117118 "type": "object"
118119 }
119120 },
120121 "id": "org.cairnsproto.draft.listNotifications",
121122 "lexicon": 1
122123}

Compare other versions