Downloading data
Downloads a CSV file containing the data of a single window.
- Quotas
-
No more than 10 parallel downloads are permitted.
- Compressed data
-
We recommend passing the
Accept-Encoding: gzip
header in the request to transfer large files compressed using thegzip
codec faster over the network.
Request format
GET /datastream/v1/application/{id}/data
? data_type=<string>
& stream_window_timestamp=<string>
id | App ID. |
id | App ID. |
data_type * | Specifies which stream data to load. Acceptable values:
|
stream_window_timestamp * | Unix timestamp in seconds pointing to the data window. You can find out which data windows are available using the Stream status operation. |
data_type * | Specifies which stream data to load. Acceptable values:
|
stream_window_timestamp * | Unix timestamp in seconds pointing to the data window. You can find out which data windows are available using the Stream status operation. |
* Required
Response codes
Response code | Description |
---|---|
404 | No data. The value of the |
500 | Error on the AppMetrica server side. A repeat request won't be successful. Contact support. |
503 | Error on the AppMetrica server side. A repeat request may be successful. |
Response code | Description |
---|---|
404 | No data. The value of the |
500 | Error on the AppMetrica server side. A repeat request won't be successful. Contact support. |
503 | Error on the AppMetrica server side. A repeat request may be successful. |
Example
Request:
curl -X GET '/datastream/v1/application/1111/data?data_type=event&stream_window_timestamp=1670202610' \ -o events1670202610.csv \ -H 'Authorization: OAuth oauth_token' \ -H 'Accept-Encoding: gzip'
Copied to clipboard