app.tempomusic.staff.getAccountModeration

lexicons.tempomusic.fan

Documentation

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.

main query

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.

Parameters

did string did Required

A decentralized identifier (DID).

Output

Encodingapplication/json
reason string Optional

No description available.

setAt stringdatetime Optional

An RFC 3339 formatted timestamp.

setByDid stringdid Optional

A decentralized identifier (DID).

state string Optional

No description available.

Known values: suspended, banned
until stringdatetime Optional

An RFC 3339 formatted timestamp.

Errors

Forbidden The caller is not an active moderator.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
A decentralized identifier (DID).
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "Forbidden",
      "description": "The caller is not an active moderator."
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "properties": {
        "setAt": {
          "type": "string",
          "format": "datetime"
        },
        "state": {
          "type": "string",
          "maxLength": 100,
          "knownValues": [
            "suspended",
            "banned"
          ]
        },
        "until": {
          "type": "string",
          "format": "datetime"
        },
        "reason": {
          "type": "string",
          "maxLength": 5000,
          "maxGraphemes": 500
        },
        "setByDid": {
          "type": "string",
          "format": "did"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "did"
    ],
    "properties": {
      "did": {
        "type": "string",
        "format": "did"
      }
    }
  },
  "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."
}

Lexicon Garden

@