Get Webhook Configurations
Gets all webhook configurations
Request
URI
GET
https://{api_host}//vrlic/api/v1/notification/webhook-configurations
COPY
Query Parameters
integer
page
Optional
Number of required pages (defaultValue = 0)
integer
size
Optional
Required page size (defaultValue = 100)
string
sort
Optional
Sort the response based on a field (defaultValue = id,asc)
Responses
200
OK
Returns PagedModelObjectForWebhookConfiguration of type(s) */*
{
"content": [
{
"id": "573ef541-e9cb-475a-8f50-793979d1d9a0",
"name": "test_webhook_configuration",
"type": "WEBHOOK",
"cspOrgId": "e552932c-1274-4495-b7f5-a647f3c0ec69",
"createdBy": "[email protected]",
"createdAt": "2023-06-23T08:50:39.055532Z",
"lastUpdatedBy": "[email protected]",
"lastUpdatedAt": "2023-06-23T08:50:39.055532Z",
"url": "https://hooks.slack.com/services/SmafV7DQ1f3zJz4VpraTdT0q",
"contentType": "application/json",
"action": "POST",
"webhookType": "ALERT_NOTIFICATION",
"userName": "test_user",
"password": "******",
"customHeaders": {
"Authorization": "Bearer LQSe7oYM1tjf770o6cQPIQAmaha6Eyu9"
},
"endpointType": "SLACK",
"endpointProperties": {
"Authorization": "Bearer LQSe7oYM1tjf770o6cQPIQAmaha6Eyu9"
},
"force": false
}
],
"page": {
"totalElements": 20,
"totalPages": 20,
"size": 1,
"number": 1
},
"_links": {
"first": {
"href": "https://{api_host}/vrlic/api/v1/notification/webhook-configurations?page=0&size=1"
},
"last": {
"href": "https://{api_host}/vrlic/api/v1/notification/webhook-configurations?page=19&size=1"
},
"next": {
"href": "https://{api_host}/vrlic/api/v1/notification/webhook-configurations?page=2&size=1"
},
"self": {
"href": "https://{api_host}/vrlic/api/v1/notification/webhook-configurations?page=1&size=1"
},
"prev": {
"href": "https://{api_host}/vrlic/api/v1/notification/webhook-configurations?page=0&size=1"
}
}
}