Events
List event types
Have a token? Manage tokens in the console
GET
The event catalogue: every type you can receive, with the JSON Schema of its data.
Needs scope events:read.
bearerheader
AuthorizationBearer <JWT>An access token from the identity provider: a person's, or a customer's from the client credentials grant with an API key (developers.inorbit.hr). The gateway verifies it; the audience is iohr-api.
page_size?integerFormat
int32page_token?stringiohr.events.v1.ListEventTypesResponse
application/json- response
iohr.events.v1.ListEventTypesResponse
next_page_token*stringtypes*array<>SDK
HTTP
import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try { for await (const eventType of api.events.allListEventTypes()) { console.log(eventType); }} catch (e) { if (!(e instanceof ApiError)) throw e; console.error(`${e.code}: ${e.problem} (request id ${e.raw.requestId})`); process.exitCode = 1;}npm install @inorbithr/sdk. Calls the package's public surface; an operation newer than your package needs the next release or a client generated for your account. The SDKs.
Example Response
{ "next_page_token": "string", "types": [ { "description": "string", "schema": "string", "type": "string" } ]}