full diff

pub.chive.collaboration.listInvites

From
bafyreicilmx5iuddupj5jdlz4gbzjnhtxuxkiijshg5n3xgtpd4bhwcwdi indexed 2026-06-18 13:14 UTC View this version
To
bafyreicilmx5iuddupj5jdlz4gbzjnhtxuxkiijshg5n3xgtpd4bhwcwdi indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "inviteView": {
55 "properties": {
66 "acceptanceUri": {
77 "format": "at-uri",
88 "type": "string"
99 },
1010 "acceptedAt": {
1111 "format": "datetime",
1212 "type": "string"
1313 },
1414 "createdAt": {
1515 "format": "datetime",
1616 "type": "string"
1717 },
1818 "expiresAt": {
1919 "format": "datetime",
2020 "type": "string"
2121 },
2222 "invitee": {
2323 "format": "did",
2424 "type": "string"
2525 },
2626 "inviter": {
2727 "format": "did",
2828 "type": "string"
2929 },
3030 "message": {
3131 "type": "string"
3232 },
3333 "role": {
3434 "type": "string"
3535 },
3636 "state": {
3737 "knownValues": [
3838 "pending",
3939 "accepted",
4040 "rejected",
4141 "expired"
4242 ],
4343 "type": "string"
4444 },
4545 "subjectCollection": {
4646 "type": "string"
4747 },
4848 "subjectUri": {
4949 "format": "at-uri",
5050 "type": "string"
5151 },
5252 "uri": {
5353 "format": "at-uri",
5454 "type": "string"
5555 }
5656 },
5757 "required": [
5858 "uri",
5959 "inviter",
6060 "invitee",
6161 "subjectUri",
6262 "state",
6363 "createdAt"
6464 ],
6565 "type": "object"
6666 },
6767 "main": {
6868 "description": "List collaboration invites, filtered by invitee, inviter, and/or subject. Typically used to populate an invitee's inbox.",
6969 "output": {
7070 "encoding": "application/json",
7171 "schema": {
7272 "properties": {
7373 "cursor": {
7474 "type": "string"
7575 },
7676 "hasMore": {
7777 "type": "boolean"
7878 },
7979 "invites": {
8080 "items": {
8181 "ref": "#inviteView",
8282 "type": "ref"
8383 },
8484 "type": "array"
8585 },
8686 "total": {
8787 "type": "integer"
8888 }
8989 },
9090 "required": [
9191 "invites"
9292 ],
9393 "type": "object"
9494 }
9595 },
9696 "parameters": {
9797 "properties": {
9898 "cursor": {
9999 "type": "string"
100100 },
101101 "invitee": {
102102 "description": "Filter to invites directed at this DID.",
103103 "format": "did",
104104 "type": "string"
105105 },
106106 "inviter": {
107107 "description": "Filter to invites authored by this DID.",
108108 "format": "did",
109109 "type": "string"
110110 },
111111 "limit": {
112112 "default": 50,
113113 "maximum": 100,
114114 "minimum": 1,
115115 "type": "integer"
116116 },
117117 "state": {
118118 "default": "all",
119119 "description": "Acceptance-derived state filter.",
120120 "knownValues": [
121121 "pending",
122122 "accepted",
123123 "rejected",
124124 "expired",
125125 "all"
126126 ],
127127 "type": "string"
128128 },
129129 "subjectCollection": {
130130 "description": "Filter to invites where the subject's NSID matches (e.g., `pub.chive.graph.node` for collections).",
131131 "type": "string"
132132 },
133133 "subjectUri": {
134134 "description": "Filter to invites for this subject record.",
135135 "format": "at-uri",
136136 "type": "string"
137137 }
138138 },
139139 "type": "params"
140140 },
141141 "type": "query"
142142 }
143143 },
144144 "id": "pub.chive.collaboration.listInvites",
145145 "lexicon": 1,
146146 "revision": 1
147147}