app.tempomusic.staff.listReports

lexicons.tempomusic.fan

Documentation

Cursored listing of moderation reports for the queue view. Filterable by status, subject type, reason, reporter, and subject author. Sorted by (created_at DESC, id DESC). Requires the caller to be an active moderator (any role).

main query

Cursored listing of moderation reports for the queue view. Filterable by status, subject type, reason, reporter, and subject author. Sorted by (created_at DESC, id DESC). Requires the caller to be an active moderator (any role).

Parameters

createdAfter string datetime Optional

An RFC 3339 formatted timestamp.

createdBefore string datetime Optional

An RFC 3339 formatted timestamp.

cursor string Optional

Opaque pagination cursor returned by a previous call.

limit integer Optional

No description available.

reasonType string Optional

Wire values of app.tempomusic.moderation.defs#reasonType, inlined because lexicon `params` cannot use `ref`.

reporterDid string did Optional

A decentralized identifier (DID).

status string Optional

Filter reports to a single status. Wire values of app.tempomusic.staff.defs#reportStatus, inlined because lexicon `params` cannot use `ref`. Omit to return all statuses.

subjectDid string did Optional

Filter to reports against this actor DID, via the reports.subject_did denormalization: matches both account-subject reports targeting this DID AND post/reply-subject reports against content authored by this DID.

subjectType string Optional

Filter to a single subject type.

subjectUri string at-uri Optional

Filter to reports filed against this exact post/reply at-uri (reports.subject_uri). Complements subjectDid for the report-detail cross-link: every report on the same subject.

Output

Encodingapplication/json
cursor string Optional

No description available.

items array Required

No description available.

Errors

Forbidden Caller is not an active moderator.
InvalidCursor The cursor parameter was malformed or referenced state inconsistent with the rest of the filter set.
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
An RFC 3339 formatted timestamp.
An RFC 3339 formatted timestamp.
Opaque pagination cursor returned by a previous call.
Wire values of app.tempomusic.moderation.defs#reasonType, inlined because lexicon `params` cannot use `ref`.
A decentralized identifier (DID).
Filter reports to a single status. Wire values of app.tempomusic.staff.defs#reportStatus, inlined because lexicon `params` cannot use `ref`. Omit to return all statuses.
Filter to reports against this actor DID, via the reports.subject_did denormalization: matches both account-subject reports targeting this DID AND post/reply-subject reports against content authored by this DID.
Filter to a single subject type.
Filter to reports filed against this exact post/reply at-uri (reports.subject_uri). Complements subjectDid for the report-detail cross-link: every report on the same subject.
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "Forbidden",
      "description": "Caller is not an active moderator."
    },
    {
      "name": "InvalidCursor",
      "description": "The cursor parameter was malformed or referenced state inconsistent with the rest of the filter set."
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "items"
      ],
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "ref": "app.tempomusic.staff.defs#reportView",
            "type": "ref"
          }
        },
        "cursor": {
          "type": "string",
          "maxLength": 1024
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "properties": {
      "limit": {
        "type": "integer",
        "default": 50,
        "maximum": 100,
        "minimum": 1
      },
      "cursor": {
        "type": "string",
        "maxLength": 1024,
        "description": "Opaque pagination cursor returned by a previous call."
      },
      "status": {
        "type": "string",
        "maxLength": 100,
        "description": "Filter reports to a single status. Wire values of app.tempomusic.staff.defs#reportStatus, inlined because lexicon `params` cannot use `ref`. Omit to return all statuses.",
        "knownValues": [
          "open",
          "underReview",
          "actioned",
          "dismissed"
        ]
      },
      "reasonType": {
        "type": "string",
        "maxLength": 100,
        "description": "Wire values of app.tempomusic.moderation.defs#reasonType, inlined because lexicon `params` cannot use `ref`.",
        "knownValues": [
          "copyright",
          "impersonation",
          "spam",
          "harassment",
          "sexual",
          "violence",
          "selfHarm",
          "misinformation",
          "other"
        ]
      },
      "subjectDid": {
        "type": "string",
        "format": "did",
        "description": "Filter to reports against this actor DID, via the reports.subject_did denormalization: matches both account-subject reports targeting this DID AND post/reply-subject reports against content authored by this DID."
      },
      "subjectUri": {
        "type": "string",
        "format": "at-uri",
        "description": "Filter to reports filed against this exact post/reply at-uri (reports.subject_uri). Complements subjectDid for the report-detail cross-link: every report on the same subject."
      },
      "reporterDid": {
        "type": "string",
        "format": "did"
      },
      "subjectType": {
        "type": "string",
        "maxLength": 100,
        "description": "Filter to a single subject type.",
        "knownValues": [
          "post",
          "reply",
          "account"
        ]
      },
      "createdAfter": {
        "type": "string",
        "format": "datetime"
      },
      "createdBefore": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "Cursored listing of moderation reports for the queue view. Filterable by status, subject type, reason, reporter, and subject author. Sorted by (created_at DESC, id DESC). Requires the caller to be an active moderator (any role)."
}

Lexicon Garden

@