Skip to content

Postback issues

GET
/v1/report/postback-issues
curl --request GET \
--url 'https://restapi.affattr.com/v1/report/postback-issues?filter%5Bdate_from%5D=example&filter%5Bdate_to%5D=example' \
--header 'API-KEY: <API-KEY>'

The problems of the SDK postbacks (source sdk) and the API events (source api) by the reason: code, level (rejected or warning) and param, the main parameter of the code. apps sums the issues of each application and the SDK postbacks it received, loss_pct is the rejected SDK postbacks, percent of received (null when nothing is received). share of a row is its count, percent of received, for the SDK rows only (null for the API). The window is by the hour the issue was received at, first_seen and last_seen are in tz. The window is at most 90 days, a wider one answers 400. Applications the user may not see in filter[applications] answer 403.

filter[date_from]
required
string

First date, YYYY-MM-DD, in tz

filter[date_to]
required
string

Last date, YYYY-MM-DD, in tz, included

tz
string

IANA timezone, UTC by default

filter[applications]
Array<integer>

Application ids, every application of the user by default

filter[source]
Array<string>

Sdk, api

filter[level]
Array<string>

Rejected, warning

filter[code]
Array<string>

Issue codes

Postback issues

Media type application/json
object
data
object
apps
Array<object>
object
app_id
integer
loss_pct

LossPct is the rejected SDK postbacks, percent of Received; null when nothing is received.

number
received

Received is the SDK postbacks of the application: the API events are not counted.

integer
rejected

Rejected and Warnings are the issues of both the SDK and the API.

integer
warnings
integer
rows
Array<object>
object
app_id
integer
app_versions
Array<string>
code
string
count
integer
first_seen
string
last_seen
string
level
string
param
string
sdk_versions
Array<string>
share

Share is Count, percent of the SDK postbacks the application received; null for the API and when nothing is received.

number
source
string
versions
Array<object>
object
app_version
string
count
integer
sdk_platform
string
sdk_version
string
Example generated
{
"data": {
"apps": [
{
"app_id": 1,
"loss_pct": 1,
"received": 1,
"rejected": 1,
"warnings": 1
}
],
"rows": [
{
"app_id": 1,
"app_versions": [
"example"
],
"code": "example",
"count": 1,
"first_seen": "example",
"last_seen": "example",
"level": "example",
"param": "example",
"sdk_versions": [
"example"
],
"share": 1,
"source": "example",
"versions": [
{
"app_version": "example",
"count": 1,
"sdk_platform": "example",
"sdk_version": "example"
}
]
}
]
}
}

Bad request

Media type application/json
string
Example generated
example

No credentials (answered with 403 until default-deny is enabled)

Media type application/json
string
Example generated
example

Invalid credentials or no access

Media type application/json
string
Example generated
example

Internal server error

Media type application/json
string
Example generated
example