{ "base": "\https://api.buddybuild.com/v1", "endpoint": "/apps/:app_id:/crash-reports/:crash_report_id:/logs", "method": "get", "params": { "headers": [ { "name": "Authorization", "type": "Bearer :api-access-token:", "req": true, "cue": "Enter your API access token" } ], "path": [ { "name": ":app_id:", "type": "string", "desc": 'App identifier', "req": true, "cue": 'Enter an app id' }, { "name": ":crash_report_id:", "type": "string", "desc": 'Crash report identifier', "req": true, "cue": 'Enter a crash report id' } ], "query": [], "body": [] }, "authentication": "required" }
Show crash report logs
Definition
Placeholder for the definition; auto-generated from JSON above.
Use this method to retrieve device logs associated with the specified crash report item.
Note
|
Looking for your API access token? Read more about authenticating with buddybuild or show your personal access token. |
Parameters
Required = *
Placeholder for the endpoint parameters; auto-generated from JSON above.
curl
curl -X GET \
-H 'Authorization: Bearer :api-access-token:' \
'https://api.buddybuild.com/v1/apps/:app_id:/crash-reports/:crash_report_id:/logs'
jquery
var settings = {
"async": true,
"crossDomain": true,
"url": "https://api.buddybuild.com/v1/apps/:app_id:/crash-reports/:crash_report_id:/logs",
"method": "GET",
"headers": {
"authorization": "Bearer :api-access-token:"
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Response
2017-12-05 13:45:17.043 m2048[6853:2673480] [BuddyBuildSDK] Crash reporting is enabled
2017-12-05 13:45:17.045 m2048[6853:2673480] [BuddyBuildSDK] Crashed on 2017-12-05 21:45:13 +0000
2017-12-05 13:45:17.048 m2048[6853:2673480] [BuddyBuildSDK] Starting video export
2017-12-05 13:45:17.124 m2048[6853:2673480] [BuddyBuildSDK] Sending crash report Asynchronously