acquia-dam-sdk / Components / WebhooksApi
new WebhooksApi(
client):WebhooksApi
Create an instance of the WebhooksApi class.
Create, list, read, ping, edit, and delete Acquia DAM webhook configurations. Create, List, and Delete Workflow Webhooks
Provide an instance of ApiClient.
createAssetsWebhook(
params):Promise<CreateAssetsWebhookResult>
Create a new Assets webhook
Information about the request
Promise<CreateAssetsWebhookResult>
Promise containing the new webhook configuration ID
https://docs.acquia.com/acquia-dam/api-v2#tag/Acquia-DAM-Webhooks/operation/createWebhook
createWorkflowWebhook(
params):Promise<GetWorkflowWebhookResult>
Create a Workflow webhook
Information about the request
Promise<GetWorkflowWebhookResult>
Promise containing information about the created webhook
https://docs.acquia.com/acquia-dam/api-v2#tag/Workflow-Webhooks/operation/workflowAddWebhook
deleteAssetsWebhook(
id):Promise<void>
Delete an Assets webhook
string
Assets Webhook configuration ID
Promise<void>
Promise containing no information
https://docs.acquia.com/acquia-dam/api-v2#tag/Acquia-DAM-Webhooks/operation/deleteWebhook
deleteWorkflowWebhook(
event):Promise<void>
Delete a Workflow webhook
The event name
Promise<void>
Promise containing no information
https://docs.acquia.com/acquia-dam/api-v2#tag/Workflow-Webhooks/operation/workflowDeleteWebhook
editAssetsWebhook(
params):Promise<void>
Edit an Assets webhook configuration
Information about the request
Promise<void>
Promise containing no information
https://docs.acquia.com/acquia-dam/api-v2#tag/Acquia-DAM-Webhooks/operation/deleteWebhook
getAssetsWebhook(
id):Promise<GetAssetsWebhookResult>
Retrieve information about an Assets webhook
string
Webhook configuration ID
Promise<GetAssetsWebhookResult>
Promise containing information about a webhook
https://docs.acquia.com/acquia-dam/api-v2#tag/Acquia-DAM-Webhooks/operation/getWebhook
listAssetsWebhooks(
params?):Promise<ListAssetsWebhooksResult>
Retrieve a list of Assets webhooks
Information about the request
Promise<ListAssetsWebhooksResult>
Promise containing a list of Assets webhooks
https://docs.acquia.com/acquia-dam/api-v2#tag/Acquia-DAM-Webhooks/operation/listWebhooks
listWorkflowWebhooks():
Promise<ListWorkflowWebhooksResult>
Retrieve a list of active Workflow webhooks
Promise<ListWorkflowWebhooksResult>
Promise containing a list of Workflow webhooks
https://docs.acquia.com/acquia-dam/api-v2#tag/Workflow-Webhooks/operation/workflowListWebhooks
pingAssetsWebhook(
id):Promise<void>
Ping an Assets Webhook
string
Assets Webhook Configuration ID
Promise<void>
Promise containing no information
https://docs.acquia.com/acquia-dam/api-v2#tag/Acquia-DAM-Webhooks/operation/pingWebhook