Forge apps can subscribe to Compass events for:
Your Forge app must have permission from the site admin to access the data it provides within the event payload. The OAuth scope required for each event is documented below.
Forge apps can subscribe to these events on a component:
avi:compass:created:component_link
avi:compass:updated:component_link
avi:compass:deleted:component_link
All component events require the OAuth scope read:component:compass
.
All component events share the same payload format.
Name | Type | Description |
---|---|---|
eventType | string | The event name such as avi:compass:created:component_link . |
component | Component | The component that had a link change |
1 2interface Component { id: string; }
This is an example payload.
1 2{ "eventType": "avi:compass:created:component_link", "component": { "id": "ari:cloud:compass:00000000-0000-0000-0000-000000000000:component/00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000" } }
Rate this page: