List of webhooks
HPE Compute Ops Management API (latest)
HPE Compute Operations Management provides a Restful API to customers who want to manage their devices programmatically or through a command line. The API enables customers to invoke operations or tasks such as list devices, see device details, device health, and manage their device's firmware.
UPDATED API ENDPOINTS
Compute Ops Management now supports the HPE GreenLake API endpoints (<region>.api.greenlake.hpe.com
). The Guide contains more information about this change.
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/
https://us-west.api.greenlake.hpe.com/
https://eu-central.api.greenlake.hpe.com/
https://ap-northeast.api.greenlake.hpe.com/
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/webhooks
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/webhooks \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "offset": 0, "count": 1, "total": 12, "items": [ { … } ] }
User configurable https endpoint that is able to receive HTTP GET and POST requests.
The OData configuration of events to receive. For more information, expand the Event Webhook section and refer to the Filtering page.
The set of HTTP request headers that will be included in the GET and POST requests sent to the destination.
Compute Ops Management reserves any headers that begin with x-compute-ops-mgmt
and will deny requests that attempt to use that value.
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/webhooks
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/webhooks \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Server Webhook",
"destination": "https://example.com/webhookDestination",
"state": "DISABLED",
"eventFilter": "type eq '\''compute-ops/server'\''",
"headers": {
"exampleHeader": "hlCiqcLeZVPOtJNzdGqF"
}
}'
Successful Response
Time of the webhook's creation in UTC.
Time of the webhook's last update in UTC.
User configurable https endpoint that is able to receive HTTP GET and POST requests.
The OData configuration of events to receive. For more information, expand the Event Webhook section and refer to Filtering.
The URI of this resource.
{ "name": "Server Webhook", "id": "36e00ac2-16fb-4dd5-8495-7e6df82fc15e", "type": "compute-ops-mgmt/webhooks", "generation": 1, "createdAt": "2022-02-11T01:04:20.799937+00:00", "updatedAt": "2022-03-11T01:06:30.799489+00:00", "destination": "https://example.com/webhookDestination", "eventFilter": "type eq 'compute-ops/server'", "state": "DISABLED", "status": "DISABLED", "statusReason": "Created", "resourceUri": "/compute-ops-mgmt/v1beta1/webhooks/b870f080-6448-48c5-b23a-d04f2d489174", "deliveriesUri": "/compute-ops-mgmt/v1beta1/webhooks/b870f080-6448-48c5-b23a-d04f2d489174/deliveries" }
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
'https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
OK
Time of the webhook's creation in UTC.
Time of the webhook's last update in UTC.
User configurable https endpoint that is able to receive HTTP GET and POST requests.
The OData configuration of events to receive. For more information, expand the Event Webhook section and refer to Filtering.
The URI of this resource.
{ "name": "Server Webhook", "id": "36e00ac2-16fb-4dd5-8495-7e6df82fc15e", "type": "compute-ops-mgmt/webhooks", "generation": 1, "createdAt": "2022-02-11T01:04:20.799937+00:00", "updatedAt": "2022-03-11T01:06:30.799489+00:00", "destination": "https://example.com/webhookDestination", "eventFilter": "type eq 'compute-ops/server'", "state": "DISABLED", "status": "DISABLED", "statusReason": "Created", "resourceUri": "/compute-ops-mgmt/v1beta1/webhooks/b870f080-6448-48c5-b23a-d04f2d489174", "deliveriesUri": "/compute-ops-mgmt/v1beta1/webhooks/b870f080-6448-48c5-b23a-d04f2d489174/deliveries" }
User configurable https endpoint that is able to receive HTTP GET and POST requests.
The OData configuration of events to receive. For more information, expand the Event Webhook section and refer to Filtering
The set of HTTP request headers that will be included in the GET and POST requests sent to the destination.
Compute Ops Management reserves any headers that begin with x-compute-ops-mgmt
and will deny requests that attempt to use that value.
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PATCH \
'https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{}'
Successful Response
Time of the webhook's creation in UTC.
Time of the webhook's last update in UTC.
User configurable https endpoint that is able to receive HTTP GET and POST requests.
The OData configuration of events to receive. For more information, expand the Event Webhook section and refer to Filtering.
The URI of this resource.
{ "name": "Server Webhook", "id": "36e00ac2-16fb-4dd5-8495-7e6df82fc15e", "type": "compute-ops-mgmt/webhooks", "generation": 1, "createdAt": "2022-02-11T01:04:20.799937+00:00", "updatedAt": "2022-03-11T01:06:30.799489+00:00", "destination": "https://example.com/webhookDestination", "eventFilter": "type eq 'compute-ops/server'", "state": "DISABLED", "status": "DISABLED", "statusReason": "Created", "resourceUri": "/compute-ops-mgmt/v1beta1/webhooks/b870f080-6448-48c5-b23a-d04f2d489174", "deliveriesUri": "/compute-ops-mgmt/v1beta1/webhooks/b870f080-6448-48c5-b23a-d04f2d489174/deliveries" }
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X DELETE \
'https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}/deliveries
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}/deliveries
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}/deliveries
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}/deliveries
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
'https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}/deliveries' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "offset": 0, "count": 1, "total": 12, "items": [ { … } ] }
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}/deliveries/{delivery_id}
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}/deliveries/{delivery_id}
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}/deliveries/{delivery_id}
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}/deliveries/{delivery_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
'https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/webhooks/{webhook_id}/deliveries/{delivery_id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
OK
The ID of the webhook that this delivery request belongs to.
URI of the delivery itself. Used to retrieve this specific delivery resource.
Time of delivery resource creation in UTC.
Time of the last delivery resource update in UTC.
The Compute Ops Management resource type that changed which triggered an event being sent to the webhook's endpoint. Also contains the operation taken on that resource.
Timestamp from the event message that was sent to the webhook's endpoint in UTC.
Timestamp of when the request to the webhook's endpoint was made in UTC.
Timestamp of when the response from webhook's endpoint was received in UTC.
The webhook's destination endpoint URL where the request was sent.
{ "webhookId": "75aa2a04-7349-11ee-b962-0242ac120002", "id": "36e00ac2-16fb-4dd5-8495-7e6df82fc15e", "resourceUri": "/compute-ops-mgmt/v1beta1/webhooks/96239cb5-6a1d-444c-8dfe-1e2ff05b4f05/deliveries/96239cb5-6a1d-444c-8dfe-1e2ff05b4f06", "type": "compute-ops-mgmt/webhook/delivery", "generation": 1, "createdAt": "2022-02-11T01:04:20.799937+00:00", "updatedAt": "2022-03-11T01:06:30.799489+00:00", "eventType": "compute-ops/jobs:CREATE", "eventTime": "2023-11-30T15:06:01Z", "requestTimestamp": "2023-10-25T15:05:02Z", "responseTimestamp": "2023-11-30T15:06:01Z", "destination": "https://example.com/webhookDestination", "statusCode": 200, "data": {}, "attempt": 1 }