Pular para o conteúdo principal
GET
List permission asks

Autorizações

Authorization
string
header
obrigatório

Enforced on every transport, with no exempt operation. A person's request must carry a JWT issued by the configured identity provider, which the host verifies itself against that issuer's key set: signature, issuer, expiry, and the person and organisation it names. Requests without a valid one receive 401 NRY-0011 — except a request with no token on a laptop's socket from the OS user the kernel names as the host's own, which is that machine's user.

Parâmetros de consulta

cursor
string

Opaque pagination cursor from a previous page's nextCursor or prevCursor.

Maximum string length: 1024
limit
integer
padrão:25

Maximum items per page.

Intervalo obrigatório: 1 <= x <= 100
status
enum<string>
padrão:pending

Filter by ask status.

Opções disponíveis:
pending,
decided,
expired

Resposta

One page of permission asks.

One page of permission asks.

items
object[]
obrigatório
limit
integer
obrigatório
Intervalo obrigatório: x >= 1
lastEventId
string
obrigatório

The event-stream position this page was read at — the id of the newest event the host had recorded, in the same database snapshot as the asks. Every permission-asked and permission-decided event at or before it is already reflected in the page, and one just past it may be too, because an ask is stored before the event announcing it; so a client holding the page applies the stream's events past this id. "0" when the host has recorded no events.

nextCursor
string
prevCursor
string