- 110 typed API operations
- 10 database entities synced for fast
.search()/.list()queries - 13 incoming webhook event types
Setup
1
Install
2
Add the plugin
- Solo
- Multi-Tenant
corsair.ts
3
Get credentials
Follow Get Credentials if you need help getting keys.
4
Store credentials
- Solo
- Multi-Tenant
api_key=, bot_token=, or OAuth client fields).Authentication
See Get Credentials for how to obtain and store secrets. Auth methods depend on how you configurecloudinary({ ... }) — check the plugin source *PluginOptions type for supported authType values.
Webhooks
This plugin registers 13 webhook handler(s). Configure your provider to POST events to your Corsair HTTP endpoint, then usewebhookHooks in the plugin factory for custom logic.
See Webhooks for every event path and payload shape, and Webhooks concept for how to set up routing.
Query synced data
Synced entities supportcorsair.cloudinary.db.<entity>.search() and .list(). See Database for filters and operators.
Example API calls
Read-style (read):adaptive.getAdaptiveStreamingProfiles
asset.createAssetRelationsByAssetId
pnpm corsair list --plugin=cloudinary and pnpm corsair schema <path> locally to inspect schemas.
Hooks
Usehooks on API calls and webhookHooks on incoming events to add logging, approvals, or side effects. See Hooks and the Webhooks page for payload types.