O&M Management/Monitoring APIs/Notification Service APIs
POSTNotification Service APIsSince 4.10.0SynchronousAuth Required
Send Test HTTP Request
Send Test HTTP Request
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
urlStringwebhook url
usernameStringBasic Auth username
passwordStringBasic Auth password
endpointUuidStringEndpoint UUID
systemTagsListSystem tags
userTagsListUser tags
Responses
Endpoint
POST/zstack/v1/sns/application-endpoints/http/test-connection
/zstack/v1/sns/application-endpoints/http/test-connection
Request Example
curl -X POST 'http://{host}/zstack/v1/sns/application-endpoints/http/test-connection' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"url":"<url>","username":"<username>","password":"<password>","endpointUuid":"<endpointUuid>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "connected": true, "webhookResp": "{\u0027result\u0027: \u0027success\u0027}" }Change History
This API has no change history records yet.
