atproto blogging
1{
2 "lexicon": 1,
3 "id": "sh.weaver.collab.getInvites",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get collaboration invites for an actor (sent, received, or both).",
8 "parameters": {
9 "type": "params",
10 "required": [
11 "actor"
12 ],
13 "properties": {
14 "actor": {
15 "type": "string",
16 "format": "at-identifier"
17 },
18 "cursor": {
19 "type": "string"
20 },
21 "direction": {
22 "type": "string",
23 "default": "all",
24 "knownValues": [
25 "sent",
26 "received",
27 "all"
28 ]
29 },
30 "limit": {
31 "type": "integer",
32 "default": 50,
33 "minimum": 1,
34 "maximum": 100
35 },
36 "status": {
37 "type": "string",
38 "default": "all",
39 "knownValues": [
40 "pending",
41 "accepted",
42 "expired",
43 "all"
44 ]
45 }
46 }
47 },
48 "output": {
49 "encoding": "application/json",
50 "schema": {
51 "type": "object",
52 "required": [
53 "invites"
54 ],
55 "properties": {
56 "cursor": {
57 "type": "string"
58 },
59 "invites": {
60 "type": "array",
61 "items": {
62 "type": "ref",
63 "ref": "sh.weaver.collab.defs#inviteView"
64 }
65 }
66 }
67 }
68 }
69 }
70 }
71}