atproto blogging
at main 54 lines 1.3 kB view raw
1{ 2 "lexicon": 1, 3 "id": "com.atproto.admin.getSubjectStatus", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get the service-specific admin status of a subject (account, record, or blob).", 8 "parameters": { 9 "type": "params", 10 "properties": { 11 "blob": { 12 "type": "string", 13 "format": "cid" 14 }, 15 "did": { 16 "type": "string", 17 "format": "did" 18 }, 19 "uri": { 20 "type": "string", 21 "format": "at-uri" 22 } 23 } 24 }, 25 "output": { 26 "encoding": "application/json", 27 "schema": { 28 "type": "object", 29 "required": [ 30 "subject" 31 ], 32 "properties": { 33 "deactivated": { 34 "type": "ref", 35 "ref": "com.atproto.admin.defs#statusAttr" 36 }, 37 "subject": { 38 "type": "union", 39 "refs": [ 40 "com.atproto.admin.defs#repoRef", 41 "com.atproto.repo.strongRef", 42 "com.atproto.admin.defs#repoBlobRef" 43 ] 44 }, 45 "takedown": { 46 "type": "ref", 47 "ref": "com.atproto.admin.defs#statusAttr" 48 } 49 } 50 } 51 } 52 } 53 } 54}