atproto blogging
1{
2 "lexicon": 1,
3 "id": "com.atproto.temp.dereferenceScope",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Allows finding the oauth permission scope from a reference",
8 "parameters": {
9 "type": "params",
10 "required": [
11 "scope"
12 ],
13 "properties": {
14 "scope": {
15 "type": "string",
16 "description": "The scope reference (starts with 'ref:')"
17 }
18 }
19 },
20 "output": {
21 "encoding": "application/json",
22 "schema": {
23 "type": "object",
24 "required": [
25 "scope"
26 ],
27 "properties": {
28 "scope": {
29 "type": "string",
30 "description": "The full oauth permission scope"
31 }
32 }
33 }
34 },
35 "errors": [
36 {
37 "description": "An invalid scope reference was provided.",
38 "name": "InvalidScopeReference"
39 }
40 ]
41 }
42 }
43}