Important: This version of the API has been deprecated an is no longer supported.
/archive
resource provides access to raw report data. At this time raw reports are only available for Apple apps (via iTunes Connect)## Getting All Report Listings
### Request
GET /archive/?type={type}
### Arguments
### Example Response
// GET /archive/?type=daily
{
"105451447": {
"id": 105451447,
"type": "daily",
"itc_id": 12345,
"report_timestamp": "2010-07-01T00:00:00",
"import_timestamp": "2010-07-02T06:14:48",
"import_method": "sync",
"region": "none"
},
...
}
## Getting Latest Report Listings
This route will return a reference to the newest report in each of the linked accounts.
### Request
GET /archive/latest/?type={type}
### Arguments
### Example Response
// GET /archive/latest/?type=daily
{
"105451447": {
"id": 105451447,
"type": "daily",
"itc_id": 12345,
"report_timestamp": "2010-09-26T00:00:00",
"import_timestamp": "2010-09-27T07:21:49",
"import_method": "sync",
"region": "none"
},
"105451448": {
"id": 105451448,
"type": "daily",
"itc_id": 12346,
"report_timestamp": "2010-09-26T00:00:00",
"import_timestamp": "2010-09-27T07:22:03",
"import_method": "sync",
"region": "none"
},
...
}
## Getting Report Listings By Date
### Request
GET /archive/{report_date}/?type={type}
### Arguments
### Example Response
// GET /archive/2010-07-01/?type=daily
{
"105451447": {
"id": 105451447,
"type": "daily",
"itc_id": 12345,
"report_timestamp": "2010-09-21T00:00:00",
"import_timestamp": "2010-08-22T15:14:48",
"import_method": "sync",
"region": "none"
}
}
## Getting Raw Report Data
### Request
GET /archive/raw/{id}
### Arguments
### Example Response
// GET /archive/raw/105451447
actual raw report data in plain text format.
Actual output will depend on the report.