OpenFolia

Outbox consumers

GET
/outbox/status

Whether the consumers of the outbox (notifications, webhooks, the change feed) read on. One whose position, or an outbox row, lay past every transaction of this database (restored from another server) is held and delivers nothing, so that nothing is skipped, until the operator runs the recipe in backend/api/README.md, "Outbox", "After a restore". Names only. Needs the admin.roles permission.

Authorization

bearer
headerAuthorizationBearer <JWT>

A service account's token (ccms_sat_…, issued by POST /service-accounts/{id}/tokens), or, for local use and demo mode, the server's shared CCMS_API_TOKEN.

Header Parameters

X-Ccms-User?string

Demo mode only (CCMS_AUTH_MODE=demo): the user ID to act as. The bearer token is still required; without demo mode the header is refused (400).

Response Body

application/vnd.api+json
  1. response
data*

id is always outbox.

Example Request
curl -X GET 'http://localhost:3000/outbox/status'
Example Response
{  "data": {    "type": "OutboxStatus",    "id": "string",    "attributes": {      "blockedConsumers": [        "string"      ]    },    "meta": {      "level": "ok"    }  }}