Webhook
A Webhook is a plugin instance receiving data from external monitoring systems.
Package : spaceone.api.monitoring.v1
Webhook
create
POST /monitoring/v1/webhooks
Creates a new Webhook. A Webhook collects data from an external monitoring system with a webhook URL generated by the resource.
Request
Response
update
PUT /monitoring/v1/webhook/{webhook_id}
Updates a specific Webhook. You can make changes in Webhook settings, including the name and tags.
Request
Response
update_plugin
PUT /monitoring/v1/webhook/{webhook_id}/plugin
Request
Response
verify_plugin
POST /monitoring/v1/webhook/{webhook_id}/plugin/verify
Verifies a specific plugin for a Webhook.
Request
Response
enable
PUT /monitoring/v1/webhook/{webhook_id}/enable
Enables a specific Webhook. By enabling a Webhook, you can communicate with an external application.
Request
Response
disable
PUT /monitoring/v1/webhook/{webhook_id}/disable
Disables a specific Webhook. By disabling a Webhook, you cannot communicate with an external application, as the webhook URL from the Webhook becomes invalid.
Request
Response
delete
DELETE /monitoring/v1/webhook/{webhook_id}
Deletes a specific Webhook. By deleting a Webhook, you cannot collect data from an external monitoring system, as the
REST URL
is also deleted.
Request
Response
get
GET /monitoring/v1/webhook/{webhook_id}
Gets a specific Webhook. Prints detailed information about the Webhook, including the name, the version, and the created datetime.
Request
Response
list
GET /monitoring/v1/webhooks
POST /monitoring/v1/webhooks/search
Gets a list of all Webhooks. You can use a query to get a filtered list of Webhooks.
Request
Response
stat
POST /monitoring/v1/webhooks/stat
Request
Response
Message
CreateWebhookRequest
name
string
✔
plugin_info
✔
tags
✘
project_id
string
✔
domain_id
string
✔
GetWebhookRequest
webhook_id
string
✔
domain_id
string
✔
only
list of string
✘
UpdateWebhookPluginRequest
webhook_id
string
✔
version
string
✘
options
✘
upgrade_mode
NONE
MANUAL
AUTO
✘
domain_id
string
✔
UpdateWebhookRequest
webhook_id
string
✔
name
string
✘
tags
✘
domain_id
string
✔
WebhookInfo
webhook_id
string
name
string
state
NONE
ENABLED
DISABLED
access_key
string
webhook_url
string
capability
plugin_info
tags
project_id
string
domain_id
string
created_at
string
WebhookPluginInfo
plugin_id
string
version
string
options
metadata
upgrade_mode
NONE
MANUAL
AUTO
WebhookQuery
query
✘
webhook_id
string
✘
name
string
✘
state
NONE
ENABLED
DISABLED
✘
access_key
string
✘
webhook_url
string
✘
project_id
string
✘
domain_id
string
✔
WebhookRequest
webhook_id
string
✔
domain_id
string
✔
WebhookStatQuery
query
✔
domain_id
string
✔
WebhooksInfo
results
total_count
Last updated
Was this helpful?