/scalemgmt/v3/operations/{id}/output: GET
Gets the output details of the LRO.
Availability
Available on all IBM Storage Scale editions.
Description
The GET operations/{id}/output request displays message output from an LRO. To run this request, you must have the RBAC permission for the get action on the /scalemgmt/v3/operations resource.
Request URL
https://<IP address or host name of API server>:<port>/scalemgmt/v3/operations/{id}/output
where- {id}
- Specifies the operation ID of the LRO.
Request headers
Accept: application/json
Parameters
The following parameters can be used in the request URL to customize the
request:
Parameter name | Description and applicable keywords | Required/optional |
---|---|---|
id | The operation ID of the LRO. | Required. |
byte_offset | The offset in bytes to start reading the console output. | Optional. |
X-StorageScaleDomain | The domain to be authorized against for the request. The default value is StorageScaleDomain. | Optional. |
Request data
No request data.
Response data
- 200: A successful response.
{ "bytes": "string" }
- default: An unexpected error response.
{ "code": 0, "details": [ { "@type": "string", "additionalProp1": "string", "additionalProp2": "string", "additionalProp3": "string" } ], "message": "string" }
Examples
The following example gets information about the output of the LRO.
Request data:
curl -n -k -X GET https://localhost:46443/scalemgmt/v3/operations/MTo0ODU4Y2RiNS03Y2ZiLTRmZjEtOWFkMy1hYjg4ZjhiY2JkNDU=/output
Response
data: {
"bytes": "RGlza3MgdXAgdG8gc2l6ZSA0Mi43NCBHQiBjYW4gYmUgYWRkZWQgdG8gc3RvcmFnZSBwb29sIHN5c3RlbS4KQ3JlYXRpbmcgSW5vZGUgRmlsZQpDcmVhdGluZyBBbGxvY2F0aW9uIE1hcHMKQ3JlYXRpbmcgTG9nIEZpbGVzCiAgIDMgJSBjb21wbGV0ZSBvbiBNb24gTWFyIDMxIDIyOjMwOjM5IDIwMjUKICA1MyAlIGNvbXBsZXRlIG9uIE1vbiBNYXIgMzEgMjI6MzA6NDQgMjAyNQogMTAwICUgY29tcGxldGUgb24gTW9uIE1hciAzMSAyMjozMDo0NSAyMDI1CkNsZWFyaW5nIElub2RlIEFsbG9jYXRpb24gTWFwCkNsZWFyaW5nIEJsb2NrIEFsbG9jYXRpb24gTWFwCkZvcm1hdHRpbmcgQWxsb2NhdGlvbiBNYXAgZm9yIHN0b3JhZ2UgcG9vbCBzeXN0ZW0K"
}