app.tempomusic.staff.listInviteCodes
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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.",
"errors": [
{
"description": "The caller is not a super-admin.",
"name": "Forbidden"
},
{
"description": "The PDS returned a transient failure — the query never lands locally, retry.",
"name": "PdsUnavailable"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"codes": {
"items": {
"ref": "app.tempomusic.staff.defs#inviteCodeView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"codes"
],
"type": "object"
}
},
"parameters": {
"properties": {
"createdBy": {
"description": "Optional DID filter. When set, only codes generated by that staff account are returned.",
"format": "did",
"type": "string"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "app.tempomusic.staff.listInviteCodes",
"lexicon": 1
}
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)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
app.tempomusic.staff.createInviteCode procedure
Generate a batch of single-use PDS invite codes (TEM-502). Requires the caller to have the `superAdmin` role. Each call requests `quantity` codes from the PDS (`com.atproto.server.createInviteCode` with `useCount=1`), w…
-
app.tempomusic.staff.disableInviteCodes procedure
Disable one or more PDS invite codes (TEM-502). Requires the caller to have the `superAdmin` role. Codes are provided as suffix-only strings; the handler re-prepends the env prefix stored under `APPVIEW_PDS_INVITE_CODE_…
-
Get an admin view of invite codes.
-
Get all invite codes for the current account. Requires auth.