Data Services API
Data Services API (1.3.0)
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/data-services/public/openapi/data-services-public-v1beta1/
https://us-west.api.greenlake.hpe.com/
https://eu-west.api.greenlake.hpe.com/
https://eu-central.api.greenlake.hpe.com/
https://ap-northeast.api.greenlake.hpe.com/
The offset query parameter should be used in conjunction with limit for paging, e.g.: offset=30&&limit=10. The offset is the number of items from the beginning of the result set to the first item included in the response.
The limit query parameter should be used in conjunction with offset for paging, e.g.: offset=30&&limit=10. The limit is the maximum number of items to include in the response.
The expression to filter responses.
A comma separated list of properties to sort by, followed by a direction indicator ("asc" or "desc"). If no direction indicator is specified the default order is ascending.
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/data-services/public/openapi/data-services-public-v1beta1/data-services/v1beta1/async-operations
https://us-west.api.greenlake.hpe.com/data-services/v1beta1/async-operations
https://eu-west.api.greenlake.hpe.com/data-services/v1beta1/async-operations
https://eu-central.api.greenlake.hpe.com/data-services/v1beta1/async-operations
https://ap-northeast.api.greenlake.hpe.com/data-services/v1beta1/async-operations
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/data-services/public/openapi/data-services-public-v1beta1/data-services/v1beta1/async-operations \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Async Operations list
A monotonically increasing value. This value updates when the resource is updated and can be used as a short way to determine if a resource has changed or which of two different copies of a resource is more up to date.
A link to be displayed in the Operations UI. This can be used when a operation is paused to take the user to the console UI page with information on how to unpause the operation, or for more general information when the operation is in other states.
Resources that are associated with the operation. These may be created by the operation or other resources that are involved in the operation.
An estimate of how long the operation will run before completing.
Indicates this operation possesses child operations. The list of child operations for a given operation may be acquired by querying /data-services/v1beta1/async-operations?filter=parent/id+eq+'{id}' with pagination parameters added as needed to retrieve the full list.
The health status indicates if any errors or problems have been encountered during the operation. Expected values are OK, ERROR, WARNING, UNKNOWN, and UNSPECIFIED.
Time stamped messages that record the progress of the operation. The number of messages presented is limited in number and only the most recent messages are included. Some older log messages may therefore be removed to make room for newer messages.
The parent is the operation that initiated this sub-operation. If this operation is not a sub-operation this will be null.
Recommendations on how to fix failing operations.
The root of the tree of operations. If this operation is not part of a tree this will be null.
List of services this operation belongs to, can be used to filter to specific services in the UI.
A message to indicate the current state of the operation, for example the current step in a workflow. Expected values are INITIALIZED, RUNNING, FAILED, SUCCEEDED, TIMEDOUT, PAUSED, CANCELLED, and UNSPECIFIED.
The count of the number of child Operations below this one, recursively.
This attribute suggests a suitable interval to use when polling for progress. Where specified this will be based on the frequency with which the operation is likely to be updated.
{ "items": [ { … } ], "count": 0, "offset": 0, "total": 0 }
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/data-services/public/openapi/data-services-public-v1beta1/data-services/v1beta1/async-operations/{id}
https://us-west.api.greenlake.hpe.com/data-services/v1beta1/async-operations/{id}
https://eu-west.api.greenlake.hpe.com/data-services/v1beta1/async-operations/{id}
https://eu-central.api.greenlake.hpe.com/data-services/v1beta1/async-operations/{id}
https://ap-northeast.api.greenlake.hpe.com/data-services/v1beta1/async-operations/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/data-services/public/openapi/data-services-public-v1beta1/data-services/v1beta1/async-operations/c1a0eb78-41a0-4151-93b2-f057ffeca3f3 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Single Async Operation
A monotonically increasing value. This value updates when the resource is updated and can be used as a short way to determine if a resource has changed or which of two different copies of a resource is more up to date.
A link to be displayed in the Operations UI. This can be used when a operation is paused to take the user to the console UI page with information on how to unpause the operation, or for more general information when the operation is in other states.
Resources that are associated with the operation. These may be created by the operation or other resources that are involved in the operation.
An estimate of how long the operation will run before completing.
Indicates this operation possesses child operations. The list of child operations for a given operation may be acquired by querying /data-services/v1beta1/async-operations?filter=parent/id+eq+'{id}' with pagination parameters added as needed to retrieve the full list.
The health status indicates if any errors or problems have been encountered during the operation. Expected values are OK, ERROR, WARNING, UNKNOWN, and UNSPECIFIED.
Time stamped messages that record the progress of the operation. The number of messages presented is limited in number and only the most recent messages are included. Some older log messages may therefore be removed to make room for newer messages.
The parent is the operation that initiated this sub-operation. If this operation is not a sub-operation this will be null.
Recommendations on how to fix failing operations.
The root of the tree of operations. If this operation is not part of a tree this will be null.
List of services this operation belongs to, can be used to filter to specific services in the UI.
A message to indicate the current state of the operation, for example the current step in a workflow. Expected values are INITIALIZED, RUNNING, FAILED, SUCCEEDED, TIMEDOUT, PAUSED, CANCELLED, and UNSPECIFIED.
The count of the number of child Operations below this one, recursively.
This attribute suggests a suitable interval to use when polling for progress. Where specified this will be based on the frequency with which the operation is likely to be updated.
{ "createdAt": "2019-08-24T14:15:22Z", "customerId": "string", "generation": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "resourceUri": "string", "type": "string", "updatedAt": "2019-08-24T14:15:22Z", "additionalDetails": { "consoleUri": "string" }, "associatedResources": [ { … } ], "displayName": "string", "endedAt": "2019-08-24T14:15:22Z", "error": { "error": "An example error message.", "errorCode": "string", "traceId": "f57dcca3345820eb579c9317ce36dd92" }, "estimatedRunningDurationMinutes": 0, "groups": [ { … } ], "hasChildOperations": true, "healthStatus": "string", "logMessages": [ { … } ], "parent": { "name": "string", "resourceUri": "string", "type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "progressPercent": 100, "recommendations": [ { … } ], "rootOperation": { "name": "string", "resourceUri": "string", "type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "services": [ "string" ], "sourceResourceUri": "string", "startedAt": "2019-08-24T14:15:22Z", "state": "string", "subtreeOperationCount": 0, "suggestedPollingIntervalSeconds": 0, "userId": "string" }