atproto blogging
1{
2 "lexicon": 1,
3 "id": "app.bsky.graph.getStarterPacksWithMembership",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Enumerates the starter packs created by the session user, and includes membership information about `actor` in those starter packs. Requires auth.",
8 "parameters": {
9 "type": "params",
10 "required": [
11 "actor"
12 ],
13 "properties": {
14 "actor": {
15 "type": "string",
16 "description": "The account (actor) to check for membership.",
17 "format": "at-identifier"
18 },
19 "cursor": {
20 "type": "string"
21 },
22 "limit": {
23 "type": "integer",
24 "default": 50,
25 "minimum": 1,
26 "maximum": 100
27 }
28 }
29 },
30 "output": {
31 "encoding": "application/json",
32 "schema": {
33 "type": "object",
34 "required": [
35 "starterPacksWithMembership"
36 ],
37 "properties": {
38 "cursor": {
39 "type": "string"
40 },
41 "starterPacksWithMembership": {
42 "type": "array",
43 "items": {
44 "type": "ref",
45 "ref": "#starterPackWithMembership"
46 }
47 }
48 }
49 }
50 }
51 },
52 "starterPackWithMembership": {
53 "type": "object",
54 "description": "A starter pack and an optional list item indicating membership of a target user to that starter pack.",
55 "required": [
56 "starterPack"
57 ],
58 "properties": {
59 "listItem": {
60 "type": "ref",
61 "ref": "app.bsky.graph.defs#listItemView"
62 },
63 "starterPack": {
64 "type": "ref",
65 "ref": "app.bsky.graph.defs#starterPackView"
66 }
67 }
68 }
69 }
70}