-
Notifications
You must be signed in to change notification settings - Fork 400
/
updateSubjectStatus.json
56 lines (56 loc) · 1.5 KB
/
updateSubjectStatus.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"lexicon": 1,
"id": "com.atproto.admin.updateSubjectStatus",
"defs": {
"main": {
"type": "procedure",
"description": "Update the service-specific admin status of a subject (account, record, or blob).",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["subject"],
"properties": {
"subject": {
"type": "union",
"refs": [
"com.atproto.admin.defs#repoRef",
"com.atproto.repo.strongRef",
"com.atproto.admin.defs#repoBlobRef"
]
},
"takedown": {
"type": "ref",
"ref": "com.atproto.admin.defs#statusAttr"
},
"deactivated": {
"type": "ref",
"ref": "com.atproto.admin.defs#statusAttr"
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["subject"],
"properties": {
"subject": {
"type": "union",
"refs": [
"com.atproto.admin.defs#repoRef",
"com.atproto.repo.strongRef",
"com.atproto.admin.defs#repoBlobRef"
]
},
"takedown": {
"type": "ref",
"ref": "com.atproto.admin.defs#statusAttr"
}
}
}
}
}
}
}