Skip to content

com.atproto.admin.getSubjectStatus

Lexicon Version: 1

Type: query

Get the service-specific admin status of a subject (account, record, or blob).

Parameters:

NameTypeReq’dDescriptionConstraints
didstringFormat: did
uristringFormat: at-uri
blobstringFormat: cid
Output:
  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
subjectUnion of:
  com.atproto.admin.defs#repoRef
  com.atproto.repo.strongRef
  com.atproto.admin.defs#repoBlobRef
takedowncom.atproto.admin.defs#statusAttr
deactivatedcom.atproto.admin.defs#statusAttr

{
"lexicon": 1,
"id": "com.atproto.admin.getSubjectStatus",
"defs": {
"main": {
"type": "query",
"description": "Get the service-specific admin status of a subject (account, record, or blob).",
"parameters": {
"type": "params",
"properties": {
"did": {
"type": "string",
"format": "did"
},
"uri": {
"type": "string",
"format": "at-uri"
},
"blob": {
"type": "string",
"format": "cid"
}
}
},
"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"
},
"deactivated": {
"type": "ref",
"ref": "com.atproto.admin.defs#statusAttr"
}
}
}
}
}
}
}