tessera

Lists every invite, newest first.

GET
/api/v1/admin/invites

Errors

401 when nothing was signed in, 403 when the caller is not an administrator or used a bearer token, 404 when this instance has no administration.

session
cookietessera_session<token>

Set by POST /auth/login. A browser sends it automatically; it is HttpOnly, so page scripts cannot read or set it.

Response Body

Every invite on this instance

application/json
  1. response
[index: integer]?

One invite code, as an administrator sees it.

Never carries the code. Only its digest is stored, so there is nothing to show; see [CreatedInviteResponse] for the one moment there is.

curl -X GET 'https://example.com/api/v1/admin/invites'
[  {    "active": true,    "created_at": "string",    "expires_at": "string",    "id": "string",    "max_uses": 0,    "note": "string",    "used": 0  }]