Reports
Push report
Changed onGet the number of pushes you have sent within a specified time period.
get/api/reports/sends
Request
- Base URLhttps://go.urbanairship.com
- Auth
- HTTP basic
- or HTTP bearer
- or OAuth 2Client credentialsToken URLhttp://oauth2.{domain}.com/tokenScopesrpt
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
startstring date-time required
Example:2021-02-01T00:00:00
A date-time for start of report.
endstring date-time required
Example:2021-02-28T00:00:00
A date-time for end of report.
precision'HOURLY' | 'DAILY' | 'MONTHLY' required
Granularity of results to return. Defaults to DAILY.
Response
Returned on success, with the JSON representation of the sends in the body of the response.
Example response
{
"sends": [
{
"android": 124,
"date": "2018-06-01 10:00:00",
"ios": 133
}
]
}Changes
- breaking
the
queryrequest parameterprecisionbecame required - breaking
for the
queryrequest parameterend, the format changed from no format todate-time - breaking
for the
queryrequest parameterstart, the format changed from no format todate-time
This list may be incomplete.
- breaking