app.tempomusic.staff.getAccountModeration
Current account-level moderation state of a DID (suspension or ban), or an empty object when the account is unrestricted. A lapsed suspension is reported with its (past) `until` — interpretation is the caller's. Requires the `moderator` role.
Details · query
| Kind | query |
|---|---|
| Authority | staff.tempomusic.app |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Current account-level moderation state of a DID (suspension or ban), or an empty object when the account is unrestricted. A lapsed suspension is reported with its (past) `until` — interpretation is the caller's. Requires the `moderator` role.",
"errors": [
{
"description": "The caller is not an active moderator.",
"name": "Forbidden"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"reason": {
"maxGraphemes": 500,
"maxLength": 5000,
"type": "string"
},
"setAt": {
"format": "datetime",
"type": "string"
},
"setByDid": {
"format": "did",
"type": "string"
},
"state": {
"knownValues": [
"suspended",
"banned"
],
"maxLength": 100,
"type": "string"
},
"until": {
"format": "datetime",
"type": "string"
}
},
"type": "object"
}
},
"parameters": {
"properties": {
"did": {
"format": "did",
"type": "string"
}
},
"required": [
"did"
],
"type": "params"
},
"type": "query"
}
},
"id": "app.tempomusic.staff.getAccountModeration",
"lexicon": 1
}