batch

Run up to 20 public GET reads in one request

Public, no auth. Submit a bounded list (1..20) of GET sub-requests to the allowlisted PUBLIC read endpoints (/api/events/upcoming, /api/events/get, /api/floor10/donations) and get their results back in order. Each sub-request is dispatched to the SAME handler that serves it directly, so a batched result is identical to calling that endpoint alone. Writes and auth-gated reads are deliberately NOT batchable (they keep their own idempotency + per-token rate accounting). Partial-failure semantics: a rejected sub-request (non-GET, non-allowlisted path, handler error) carries a 4xx/5xx status inside its own result while the batch envelope stays 200; only a malformed batch envelope is a 400 on the whole call.

post/api/batch

Request

  • Base URL: https://www.immersivecommons.com
  • URL: https://www.immersivecommons.com/api/batch
  • Auth: none required

Request body

Response

Per-sub-request results, in the same order as requests.

okboolean required
countinteger required

Number of results (equals requests.length).

Changes

No recorded changes to this operation across all 1 revision of this API.