org.designtxt.getTokens
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Retrieve design tokens from a tokenCollection record. If no input modifiers are provided, returns the raw token document. If an input object is given (matching a resolver document's modifiers), tokens are resolved against that context.",
6
6
"output": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"resolvedAt": {
11
11
"description": "Timestamp when the response was produced.",
12
12
"format": "datetime",
13
13
"maxLength": 64,
14
14
"type": "string"
15
15
},
16
16
"tokens": {
17
17
"description": "The requested token data. Either the full token collection, the subtree at the requested path, or the resolved token values.",
18
18
"type": "unknown"
19
19
}
20
20
},
21
21
"required": [
22
22
"tokens"
23
23
],
24
24
"type": "object"
25
25
}
26
26
},
27
27
"parameters": {
28
28
"properties": {
29
29
"path": {
30
30
"description": "JSON Pointer path to a specific subtree within the token collection. When set, only the sub-tree at this path is returned.",
31
31
"maxLength": 1024,
32
32
"type": "string"
33
33
},
34
34
"ref": {
35
35
"description": "AT-URI of the org.designtxt.tokenCollection record to retrieve.",
36
36
"format": "at-uri",
37
37
"maxLength": 8192,
38
38
"type": "string"
39
39
},
40
40
"resolveReferences": {
41
41
"description": "If true, resolve alias references ({token.name}) inline in the response. Defaults to false.",
42
42
"type": "boolean"
43
43
}
44
44
},
45
45
"required": [
46
46
"ref"
47
47
],
48
48
"type": "params"
49
49
},
50
50
"type": "query"
51
51
}
52
52
},
53
-
"description": "XRPC Query to retrieve a design token collection, optionally at a specific subtree path, and optionally with alias references resolved.",
53
+
"description": "XRPC Query to retrieve a design token collection, optionally at a specific subtree path, and optionally with alias references resolved. Implemented at https://xrpc.designtxt.org/xrpc/org.designtxt.getTokens",
54
54
"id": "org.designtxt.getTokens",
55
55
"lexicon": 1
56
56
}