API for registering and managing HTTP webhooks and subscriptions.
Webhook API - v1beta1 (v1beta1)
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/
https://global.api.greenlake.hpe.com/
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks
https://global.api.greenlake.hpe.com/events/v1beta1/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "License Notification",
"description": "Webhook for receiving license notifications",
"destination": "https://example.com/new-endpoint",
"secret": "s3cr3tKey"
}'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "type": "events/webhook", "name": "License Notification", "description": "Webhook for receiving license notifications", "destination": "https://example.com/new-endpoint", "paused": false, "status": "ACTIVE", "resourceUri": "/events/v1beta1/webhooks/123e4567-e89b-12d3-a456-426614174000", "generation": 1, "hpePrincipal": "user:<opaque-global-id>", "createdBy": "sample.user@example.com", "createdAt": "2024-04-29T15:25:06.194Z", "updatedAt": "2024-04-29T15:25:06.194Z", "clientId": "0908777a-788f-45da-afb8-295c626e4d14", "issuerUrl": "https://example.com/new-endpoint", "authType": "Oauth", "dualSecret": false, "batching": false }
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks
https://global.api.greenlake.hpe.com/events/v1beta1/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "items": [ { … } ], "count": 0, "offset": 0, "total": 0 }
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks/{id}
https://global.api.greenlake.hpe.com/events/v1beta1/webhooks/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "type": "events/webhook", "name": "License Notification", "description": "Webhook for receiving license notifications", "destination": "https://example.com/new-endpoint", "paused": false, "status": "ACTIVE", "stateReason": "Failure in Event Deliveries", "resourceUri": "/events/v1beta1/webhooks/123e4567-e89b-12d3-a456-426614174000", "generation": 1, "hpePrincipal": "user:<opaque-global-id>", "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "authType": "oauth", "clientId": "a822f43a-9e72-4a04-8476-ad00422b987f", "issuerUrl": "http://example.com", "dualSecret": false, "batching": false }
Indicates whether the webhook is paused. false
means the webhook is not paused.
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks/{id}
https://global.api.greenlake.hpe.com/events/v1beta1/webhooks/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PATCH \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{}'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "type": "events/webhook", "name": "License Notification", "description": "Webhook for receiving license notifications", "destination": "https://example.com/new-endpoint", "paused": false, "status": "ACTIVE", "stateReason": "Failure in Event Deliveries", "resourceUri": "/events/v1beta1/webhooks/123e4567-e89b-12d3-a456-426614174000", "generation": 1, "hpePrincipal": "user:<opaque-global-id>", "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "authType": "oauth", "clientId": "a822f43a-9e72-4a04-8476-ad00422b987f", "issuerUrl": "http://example.com", "dualSecret": false, "batching": false }
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks/{id}
https://global.api.greenlake.hpe.com/events/v1beta1/webhooks/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X DELETE \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks/{id}/verify
https://global.api.greenlake.hpe.com/events/v1beta1/webhooks/{id}/verify
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks/{id}/verify' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "type": "events/webhook", "name": "License Notification", "description": "Webhook for receiving license notifications", "destination": "https://example.com/new-endpoint", "paused": false, "status": "ACTIVE", "stateReason": "Failure in Event Deliveries", "resourceUri": "/events/v1beta1/webhooks/123e4567-e89b-12d3-a456-426614174000", "generation": 1, "hpePrincipal": "user:<opaque-global-id>", "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "authType": "oauth", "clientId": "a822f43a-9e72-4a04-8476-ad00422b987f", "issuerUrl": "http://example.com", "dualSecret": false, "batching": false, "destinationResponse": { "statusCode": 0, "message": "OK", "requestedRate": 0 } }
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks/{id}/recent-deliveries
https://global.api.greenlake.hpe.com/events/v1beta1/webhooks/{id}/recent-deliveries
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks/{id}/recent-deliveries' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Recent deliveries retrieved successfully.
An array of failure response objects that detail each failed delivery attempt associated with a specific webhook.
Unique identifier of the delivery. For batch deliveries, this is the batch ID; for single deliveries, the cloudevent ID.
Headers included in the webhook's request.
Indicates whether the delivery can be retried
Human-readable description of the delivery. For single event deliveries, this is the event type. For batch deliveries, this is a string like "Batch of 10 events".
The number of failure response objects contained in the items
array for the current response.
The zero-based index in the complete list of failures that marks the start of the current set of data.
{ "items": [ { … } ], "count": 0, "offset": 0, "total": 0 }
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks/{id}/delivery-failures/{failureId}/retry
https://global.api.greenlake.hpe.com/events/v1beta1/webhooks/{id}/delivery-failures/{failureId}/retry
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-nbapi/events/v1beta1/webhooks/{id}/delivery-failures/{failureId}/retry' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "events/deliveryFailure", "httpResponseCode": 0, "resourceUri": "/events/v1beta1/webhooks/{webhookId}", "requestHeaders": { "Content-Type": "application/json" }, "requestBody": { "cloudEvents": "data" }, "responseHeaders": { "Content-Type": "application/json" }, "responseBody": { "error": "Internal processing error" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "generation": 1, "failureId": "123e4567-e89b-12d3-a456-426614174000" }