Power and Bandwidth Usage Results

/api/v1/usage/results

GET
Retrieve power and bandwidth usage data whose generation was previously requested by bandwidth usage or power usage API calls. Data must be retrieved by the same API user that requested data generation.

Data may not be available immediately: status code in the response should be checked, and if a code of 102 (Processing) is returned, further attempts should be made, until a code of 200 (Success) is returned.

Data may only be retrieved once: after a successful data retrieval with a results id, further attempts to retrieve data for the same results id will return a response status code of 410 (Already Retrieved).

Information may be retrieved up to 24 hours after the call that requested the data.

Request
Parameters

Name Located in Required Description Default Schema

id

query

yes

Results Id returned from bandwidth usage or power usage API call.

-

integer (int32)

 

Response
Content-Type: application/json

Status Code Reason Response Model

102

Processing

-

200

Success

Array[Power and Bandwidth Usage Information]

400

Bad Request

-

401

Unauthorized

-

404

Not Found

-

410

Already retrieved

 

500

Failure

-