app.tempomusic.staff.listInviteCodes

lexicons.tempomusic.fan

{
  "id": "app.tempomusic.staff.listInviteCodes",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "Forbidden",
          "description": "The caller is not a super-admin."
        },
        {
          "name": "PdsUnavailable",
          "description": "The PDS returned a transient failure — the query never lands locally, retry."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "codes"
          ],
          "properties": {
            "codes": {
              "type": "array",
              "items": {
                "ref": "app.tempomusic.staff.defs#inviteCodeView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "createdBy": {
            "type": "string",
            "format": "did",
            "description": "Optional DID filter. When set, only codes generated by that staff account are returned."
          }
        }
      },
      "description": "List PDS invite codes on-demand via the PDS (`com.atproto.admin.getInviteCodes`). No local mirror — the source of truth is the PDS. Requires the caller to have the `superAdmin` role. Codes are returned as suffix-only strings (the env prefix stored under `APPVIEW_PDS_INVITE_CODE_PREFIX` has been stripped). Optional `createdBy` filter narrows the listing to codes emitted by a specific staff DID (applied server-side by the AppView — the admin endpoint has no such parameter); when omitted every code is returned."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against app.tempomusic.staff.listInviteCodes

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:pxsuqmultto34oks44m2lgxm
CID
bafyreie6b4imlbwp5c4yytil2y47zxkjk75eudfhghisxam4yhii7yncq4
Indexed At
2026-08-24 09:06 UTC
AT-URI
at://did:plc:pxsuqmultto34oks44m2lgxm/com.atproto.lexicon.schema/app.tempomusic.staff.listInviteCodes

Referenced Schemas (1)

Lexicon Garden

@