With the HPE GreenLake APIs for Subscription Management you can add subscriptions, get subscription information, and update auto-subscription settings for your HPE GreenLake workspace.
HPE GreenLake APIs for Subscription Management (latest)
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/subscription-management/public/openapi/nbapi-subscription-latest/
https://global.api.greenlake.hpe.com/
Request
Get subscriptions managed in a workspace. Pass filters to limit results based on conditional expressions.
NOTE: You need to have the view permission for the Devices and subscription service to invoke this API.
Rate limits are enforced on this API. 40 requests per minute is supported per workspace. API will result in 429
if this threshold is breached.
Filter expressions consisting of simple comparison operations joined by logical operators.
A comma separated list of sort expressions. A sort expression is a property name optionally followed by a direction indicator asc
or desc
. Default is ascending order.
A comma separated list of select properties to return in the response. By default, all properties are returned.
Specifies the number of results to be returned. The default value is 2000.
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/subscription-management/public/openapi/nbapi-subscription-latest/subscriptions/v1alpha1/subscriptions
- Url hostname
https://global.api.greenlake.hpe.com/subscriptions/v1alpha1/subscriptions
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/subscription-management/public/openapi/nbapi-subscription-latest/subscriptions/v1alpha1/subscriptions \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Successful response
The unique identifier for the subscription.
A description of the product stock keeping unit.
A unique number that identifies an order and all its attached subscriptions.
The customer name to which the subscription belongs.
Defines the as a service (aaS) type. For example, infrastructure as a service (IAAS).
{ "items": [ { … } ], "count": 20, "offset": 0, "total": 100 }