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