Measure logo
REST API ReferenceDashboard APIANRs

Fetch an app's ANR detail (deprecated)

Deprecated

GET/apps/{id}/anrGroups/{anrGroupId}/anrs

Fetch an app's ANR detail.

Deprecated: Use GET /apps/{id}/errorGroups/{errorGroupId}/errors instead.

Both versions & version_codes should be present if any one of them is present. For multiple comma separated fields, make sure no whitespace characters exist before or after commas.

Authorization

bearerAuth
AuthorizationBearer <token>

User access token issued at sign-in. Sent as Authorization: Bearer <access-token> unless cookies are used to send tokens. The /auth/refresh and /auth/signout endpoints expect the session's refresh token in the same header format instead.

In: header

Path Parameters

id*string

App's UUID.

Formatuuid
anrGroupId*string

ANR group's id.

Query Parameters

from?string

ISO8601 timestamp to include ANRs after this time.

to?string

ISO8601 timestamp to include ANRs before this time.

versions?string

List of comma separated version identifier strings to return only matching ANRs.

version_codes?string

List of comma separated version codes to return only matching ANRs.

countries?string

List of comma separated country identifier strings to return only matching ANRs.

device_names?string

List of comma separated device name identifier strings to return only matching ANRs.

device_manufacturers?string

List of comma separated device manufacturer identifier strings to return only matching ANRs.

locales?string

List of comma separated device locale identifier strings to return only matching ANRs.

network_providers?string

List of comma separated network provider identifier strings to return only matching ANRs.

network_types?string

List of comma separated network type identifier strings to return only matching ANRs.

network_generations?string

List of comma separated network generation identifier strings to return only matching ANRs.

key_id?string

UUID of the last item. Used for keyset based pagination. Should be used along with key_timestamp & limit.

key_timestamp?string

ISO8601 timestamp of the last item. Used for keyset based pagination. Should be used along with key_id & limit.

limit?integer

Number of items to return. Used for keyset based pagination. Should be used along with key_id & key_timestamp.

filter_short_code?string

Code representing combination of filters.

ud_expression?string

Expression in JSON to filter using user defined attributes.

Response Body

application/json

curl -X GET "https://example.com/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/anrGroups/string/anrs"
{  "meta": {    "next": false,    "previous": false  },  "results": [    {      "id": "e8f656b5-65c3-46ad-a03d-0ba777cff13f",      "session_id": "58e94ae9-a084-479f-9049-2c5135f6090f",      "timestamp": "2024-05-03T23:34:27.578Z",      "type": "anr",      "attribute": {        "installation_id": "ee40eb0e-c579-473d-bc10-557049f51cda",        "app_version": "1.0",        "app_build": "1",        "app_unique_id": "sh.measure.sample",        "measure_sdk_version": "0.1.0",        "thread_name": "Thread-2",        "device_name": "emu64a",        "device_manufacturer": "Google",        "device_locale": "en-US",        "os_name": "android",        "os_version": "33",        "network_type": "wifi",        "network_generation": "unknown"      },      "anr": {        "title": "sh.measure.android.anr.AnrError@ExceptionDemoActivity.kt:66",        "stacktrace": "sh.measure.android.anr.AnrError: Application Not Responding for at least 5000 ms.\n\tat sh.measure.sample.ExceptionDemoActivity.deadLock$lambda$10(ExceptionDemoActivity.kt:66)\n\tat android.os.Handler.handleCallback(Handler.java:942)",        "message": "Application Not Responding for at least 5000 ms."      },      "attachments": [        {          "id": "63fb0950-faff-4028-bf3d-354559e4e540",          "name": "screenshot.png",          "type": "screenshot",          "key": "63fb0950-faff-4028-bf3d-354559e4e540.png",          "location": "http://localhost:9111/msr-attachments-sandbox/63fb0950-faff-4028-bf3d-354559e4e540.png"        }      ],      "threads": [        {          "name": "Thread-2",          "frames": [            "dalvik.system.VMStack.getThreadStackTrace(VMStack.java:-2)",            "sh.measure.android.anr.ANRWatchDog.run(ANRWatchDog.kt:102)"          ]        }      ]    }  ]}
Empty
Empty
Empty
Empty
Empty

Think this page can be better?

Open an issue