You can use webhooks to automatically post a notification based on asset events.
For example, you might want to post a notification to an application when new content is published, so that the application can consume the new content.
To create a webhook:
After you sign in to the Oracle Content and Experience web application as an administrator, click Integrations in the Administration area of the navigation menu.
In the Integrations menu, click Webhooks.
- Click Create.
- Select the type of webhook you want to create:
- Asset Lifecycle Webhook: Receive push notifications about asset lifecycle changes in a repository.
- Asset Publishing Webhook: Receive push notifications about assets published or unpublished to a channel.
- Enter a name and description for the webhook. This name appears as a heading for the posted conversation message.
- Enable the webhook.
- If you're creating an asset lifecycle webhook, select the repository you want to monitor for asset events. If you're creating an asset publishing webhook, select one or more channels you want to monitor for asset events.
You see only the repositories or channels to which you the have manager role.
- Select the events you want to generate notifications.
- Select whether you want brief or detailed information about each event. For a publishing webhook, you can also select an empty notification.
- For asset lifecycle webhooks, brief notifications include who triggered event, what was the event, what item was involved with the event, in which repository did the event occur, when did the event occur; detailed notifications include the same information listed in brief plus a list of all the fields in each content item or digital asset.
- For asset publishing webhooks, brief notifications include the IDs of each published asset; detailed notifications include the same information listed in brief plus a list of all the fields in each published asset.
- Enter the target URL (endpoint) to which you want to post notifications.
- If the endpoint requires authentication, select what type of authentication, and then click Details to enter the authentication information.
- Click Save.
To delete a webhook, click Delete next to the webhook.
To edit a webhook, click Edit next to the webhook.