Measure logo
REST API ReferenceDashboard APICrashes

Fetch an app's crash detail (deprecated)

Deprecated

GET/apps/{id}/crashGroups/{crashGroupId}/crashes

Fetch an app's crash 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
crashGroupId*string

Crash group's id.

Query Parameters

from?string

ISO8601 timestamp to include crashes after this time.

to?string

ISO8601 timestamp to include crashes before this time.

plot_time_group?string

Time bucket used for plot aggregation. Accepted values: minutes, hours, days, months. Defaults to days.

versions?string

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

version_codes?string

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

countries?string

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

device_names?string

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

device_manufacturers?string

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

locales?string

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

network_providers?string

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

network_types?string

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

network_generations?string

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

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/crashGroups/string/crashes"
{  "meta": {    "next": false,    "previous": false  },  "results": [    {      "id": "d0cae3d6-c42a-4d0c-a35b-df0b5d1435b2",      "session_id": "f1681cff-4da9-4a33-bb1f-ed5d00b21b90",      "timestamp": "2024-05-03T23:33:59.724Z",      "type": "exception",      "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": "main",        "user_id": "",        "device_name": "emu64a",        "device_model": "sdk_gphone64_arm64",        "device_manufacturer": "Google",        "device_type": "phone",        "device_is_foldable": true,        "device_is_physical": false,        "device_density_dpi": 440,        "device_width_px": 1080,        "device_height_px": 2154,        "device_density": 2.75,        "device_locale": "en-US",        "os_name": "android",        "os_version": "33",        "network_type": "wifi",        "network_provider": "",        "network_generation": "unknown"      },      "exception": {        "title": "java.lang.OutOfMemoryError@ExceptionDemoActivity.kt:29",        "stacktrace": "java.lang.OutOfMemoryError: Failed to allocate a 104857616 byte allocation\n\tat sh.measure.sample.ExceptionDemoActivity.onCreate$lambda$2(ExceptionDemoActivity.kt:29)\n\tat android.view.View.performClick(View.java:7506)",        "message": "Failed to allocate a 104857616 byte allocation with 25165824 free bytes and 87MB until OOM, target footprint 134540152, growth limit 201326592"      },      "attachments": [        {          "id": "ccd173ca-a9de-47ec-998f-0dd2f386ee12",          "name": "screenshot.png",          "type": "screenshot",          "key": "ccd173ca-a9de-47ec-998f-0dd2f386ee12.png",          "location": "http://localhost:9111/msr-attachments-sandbox/ccd173ca-a9de-47ec-998f-0dd2f386ee12.png"        }      ],      "threads": [        {          "name": "Thread-2",          "frames": [            "java.lang.Thread.sleep(Thread.java:-2)",            "sh.measure.android.anr.ANRWatchDog.run(ANRWatchDog.kt:70)"          ]        }      ]    }  ]}
Empty
Empty
Empty
Empty
Empty

Think this page can be better?

Open an issue