app.tempomusic.staff.restoreSubject
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Flip `moderation_status` back to 0 on a previously taken-down subject row. Writes a `subjectRestore` audit row. Trivially symmetric with takedownSubject — both act on the subject row only; lifting an account-wide sanction is unsuspendAccount's job (bans are permanent). Requires the caller to be an active moderator.",
"errors": [
{
"description": "Caller is not an active moderator.",
"name": "Forbidden"
},
{
"name": "SubjectNotFound"
},
{
"description": "The subject is not currently under a moderation hold; nothing to restore.",
"name": "NotTakenDown"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"reason": {
"maxLength": 1000,
"type": "string"
},
"subject": {
"refs": [
"app.tempomusic.moderation.defs#postSubject",
"app.tempomusic.moderation.defs#replySubject",
"app.tempomusic.moderation.defs#accountSubject"
],
"type": "union"
}
},
"required": [
"subject",
"reason"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"auditEntryId": {
"minimum": 1,
"type": "integer"
}
},
"required": [
"auditEntryId"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "app.tempomusic.staff.restoreSubject",
"lexicon": 1
}
Metadata
- DID
-
did:plc:pxsuqmultto34oks44m2lgxm - CID
-
bafyreibytlvdgmyoyw4ur5oaz3sibd2vvmcrfrjavmu3db3rdm2uifn4fm - Indexed At
- 2026-08-24 09:06 UTC
- AT-URI
-
at://did:plc:pxsuqmultto34oks44m2lgxm/com.atproto.lexicon.schema/app.tempomusic.staff.restoreSubject
Referenced Schemas (3)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
app.tempomusic.staff.unsuspendAccount procedure
Lift an account suspension: deletes the current state row (history stays in the audit log) and instantly readmits the account's content on the public surface. Also accepts a LAPSED suspension (removes the stale row). Ca…
-
app.tempomusic.staff.takedownSubject procedure
Flip `moderation_status` on a subject row to a non-zero takedown class. Read paths immediately refuse to serve the subject (404 on getPost / getReply / actor reads). Re-takedown against an already-taken-down subject is …
-
app.tempomusic.staff.revokeStaffRole procedure
Mark a moderator row as revoked. The DID can no longer pass the moderator gate (latency = the moderator-cache TTL, default 30s). Requires the caller to have the `superAdmin` role. A super-admin cannot revoke themselves.…
-
app.tempomusic.staff.suspendAccount procedure
Suspend an account: all of its content disappears from the public read surface (feeds, single fetches, threads, notifications) while the row is active. Reversible via unsuspendAccount; optionally time-boxed via `until` …