tangled
alpha
login
or
join now
oppi.li
/
plonkli
21
fork
atom
atproto pastebin service: https://plonk.li
21
fork
atom
overview
issues
pulls
pipelines
more of it
oppi.li
1 year ago
2dc60eae
12f82259
+195
3 changed files
expand all
collapse all
unified
split
lexicons
comment.json
getRecord.json
listRecords.json
+35
lexicons/comment.json
···
1
1
+
{
2
2
+
"lexicon": 1,
3
3
+
"id": "ovh.plonk.comment",
4
4
+
"defs": {
5
5
+
"main": {
6
6
+
"type": "record",
7
7
+
"key": "tid",
8
8
+
"record": {
9
9
+
"type": "object",
10
10
+
"required": [
11
11
+
"content",
12
12
+
"createdAt",
13
13
+
"post"
14
14
+
],
15
15
+
"properties": {
16
16
+
"content": {
17
17
+
"type": "string",
18
18
+
"maxLength": 100000,
19
19
+
"maxGraphemes": 10000,
20
20
+
"description": "comment body"
21
21
+
},
22
22
+
"createdAt": {
23
23
+
"type": "string",
24
24
+
"format": "datetime",
25
25
+
"description": "comment creation timestamp"
26
26
+
},
27
27
+
"post": {
28
28
+
"type": "ref",
29
29
+
"ref": "com.atproto.repo.strongRef"
30
30
+
}
31
31
+
}
32
32
+
}
33
33
+
}
34
34
+
}
35
35
+
}
+67
lexicons/getRecord.json
···
1
1
+
{
2
2
+
"lexicon": 1,
3
3
+
"id": "com.atproto.repo.getRecord",
4
4
+
"defs": {
5
5
+
"main": {
6
6
+
"type": "query",
7
7
+
"description": "Get a single record from a repository. Does not require auth.",
8
8
+
"parameters": {
9
9
+
"type": "params",
10
10
+
"required": [
11
11
+
"repo",
12
12
+
"collection",
13
13
+
"rkey"
14
14
+
],
15
15
+
"properties": {
16
16
+
"repo": {
17
17
+
"type": "string",
18
18
+
"format": "at-identifier",
19
19
+
"description": "The handle or DID of the repo."
20
20
+
},
21
21
+
"collection": {
22
22
+
"type": "string",
23
23
+
"format": "nsid",
24
24
+
"description": "The NSID of the record collection."
25
25
+
},
26
26
+
"rkey": {
27
27
+
"type": "string",
28
28
+
"description": "The Record Key."
29
29
+
},
30
30
+
"cid": {
31
31
+
"type": "string",
32
32
+
"format": "cid",
33
33
+
"description": "The CID of the version of the record. If not specified, then return the most recent version."
34
34
+
}
35
35
+
}
36
36
+
},
37
37
+
"output": {
38
38
+
"encoding": "application/json",
39
39
+
"schema": {
40
40
+
"type": "object",
41
41
+
"required": [
42
42
+
"uri",
43
43
+
"value"
44
44
+
],
45
45
+
"properties": {
46
46
+
"uri": {
47
47
+
"type": "string",
48
48
+
"format": "at-uri"
49
49
+
},
50
50
+
"cid": {
51
51
+
"type": "string",
52
52
+
"format": "cid"
53
53
+
},
54
54
+
"value": {
55
55
+
"type": "unknown"
56
56
+
}
57
57
+
}
58
58
+
}
59
59
+
},
60
60
+
"errors": [
61
61
+
{
62
62
+
"name": "RecordNotFound"
63
63
+
}
64
64
+
]
65
65
+
}
66
66
+
}
67
67
+
}
+93
lexicons/listRecords.json
···
1
1
+
{
2
2
+
"lexicon": 1,
3
3
+
"id": "com.atproto.repo.listRecords",
4
4
+
"defs": {
5
5
+
"main": {
6
6
+
"type": "query",
7
7
+
"description": "List a range of records in a repository, matching a specific collection. Does not require auth.",
8
8
+
"parameters": {
9
9
+
"type": "params",
10
10
+
"required": [
11
11
+
"repo",
12
12
+
"collection"
13
13
+
],
14
14
+
"properties": {
15
15
+
"repo": {
16
16
+
"type": "string",
17
17
+
"format": "at-identifier",
18
18
+
"description": "The handle or DID of the repo."
19
19
+
},
20
20
+
"collection": {
21
21
+
"type": "string",
22
22
+
"format": "nsid",
23
23
+
"description": "The NSID of the record type."
24
24
+
},
25
25
+
"limit": {
26
26
+
"type": "integer",
27
27
+
"minimum": 1,
28
28
+
"maximum": 100,
29
29
+
"default": 50,
30
30
+
"description": "The number of records to return."
31
31
+
},
32
32
+
"cursor": {
33
33
+
"type": "string"
34
34
+
},
35
35
+
"rkeyStart": {
36
36
+
"type": "string",
37
37
+
"description": "DEPRECATED: The lowest sort-ordered rkey to start from (exclusive)"
38
38
+
},
39
39
+
"rkeyEnd": {
40
40
+
"type": "string",
41
41
+
"description": "DEPRECATED: The highest sort-ordered rkey to stop at (exclusive)"
42
42
+
},
43
43
+
"reverse": {
44
44
+
"type": "boolean",
45
45
+
"description": "Flag to reverse the order of the returned records."
46
46
+
}
47
47
+
}
48
48
+
},
49
49
+
"output": {
50
50
+
"encoding": "application/json",
51
51
+
"schema": {
52
52
+
"type": "object",
53
53
+
"required": [
54
54
+
"records"
55
55
+
],
56
56
+
"properties": {
57
57
+
"cursor": {
58
58
+
"type": "string"
59
59
+
},
60
60
+
"records": {
61
61
+
"type": "array",
62
62
+
"items": {
63
63
+
"type": "ref",
64
64
+
"ref": "#record"
65
65
+
}
66
66
+
}
67
67
+
}
68
68
+
}
69
69
+
}
70
70
+
},
71
71
+
"record": {
72
72
+
"type": "object",
73
73
+
"required": [
74
74
+
"uri",
75
75
+
"cid",
76
76
+
"value"
77
77
+
],
78
78
+
"properties": {
79
79
+
"uri": {
80
80
+
"type": "string",
81
81
+
"format": "at-uri"
82
82
+
},
83
83
+
"cid": {
84
84
+
"type": "string",
85
85
+
"format": "cid"
86
86
+
},
87
87
+
"value": {
88
88
+
"type": "unknown"
89
89
+
}
90
90
+
}
91
91
+
}
92
92
+
}
93
93
+
}