API for registering and managing HTTP webhooks and subscriptions.
Webhook Internal API - v1beta1 (v1beta1)
Download OpenAPI description
Overview
License
Languages
Servers
Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-internal-api/
http://unified-events-registration-service.unified-events.svc.cluster.local:5000/
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/event/public/openapi/webhook-v1beta1/webhook-v1beta1-internal-api/internal-events/v1beta1/webhooks/{webhookId}
http://unified-events-registration-service.unified-events.svc.cluster.local:5000/internal-events/v1beta1/webhooks/{webhookId}
- 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-internal-api/internal-events/v1beta1/webhooks/{webhookId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{
"status": "ERROR"
}'Response
application/json
{ "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 }