Download the Exported Data
get
/iot/api/v2/exports/{request-id}/data
Returns the archive that contains exported data by specified request ID.
Request
Path Parameters
-
request-id: string
ID of the export request
Response
Supported Media Types
- x-oracle-iot-cs-data/zip
200 Response
Successfully processed.
401 Response
Unauthorized. The request requires user authentication.
403 Response
Forbidden. The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated.
404 Response
Not Found. The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
Examples
curl -X GET
-u <username>:<password>
https://iotserver/iot/api/v2/exports/{request-id}/data
Complete cURL Example
The following example shows a complete cURL command that you can use to perform the described operation:
curl -X GET
-u <username>:<password>
https://iotserver/iot/api/v2/exports/1ffc10eb32fb-5f4a/data
Note that in the request,
https://iotserver
will be replaced by the name and port of your assigned IoT Cloud Service instance. The format of the Cloud Service instance is
https://myinstance-myidentitydomain.iot.us.oraclecloud.com
and the default port is 443.