API: Crash Log, Description, and Stack Trace
This API lets you query a single crash log, the description, or the stack trace.
Log and Description
Request
- URL:
- https://rink.hockeyapp.net/api/2/apps/IDENTIFIER/crashes/ID
- IDENTIFIER - required, replace with your public app identifier
- ID - required, id of the crash, see API: List of Crashes
- HTTP Method: GET
- Authentification: set the HTTP header X-HockeyAppToken to your API token (create one here)
- Parameters:
- format - required, set to "log" for the crash log and to "text" for the description
Example:
curl \
-L -H "X-HockeyAppToken: 4567abcd8901ef234567abcd8901ef23" \
https://rink.hockeyapp.net/api/2/apps/1234567890abcdef1234567890abcdef/crashes/123?format=log
Responses
Successful
Status: 200
Body: The log or description should be downloaded to your local
machine.
Error: App not found or wrong identifier
Status: 404
Authentification failed
Status: 400
Stack Trace
Request
- URL:
- https://rink.hockeyapp.net/api/2/apps/IDENTIFIER/crashes/ID/stacktrace
- IDENTIFIER - required, replace with your public app identifier
- ID - required, id of the crash, see API: List of Crashes
- HTTP Method: GET
- Authentification: set the HTTP header X-HockeyAppToken to your API token (create one here)
Example:
curl \
-H "X-HockeyAppToken: 4567abcd8901ef234567abcd8901ef23" \
https://rink.hockeyapp.net/api/2/apps/1234567890abcdef1234567890abcdef/crashes/123/stacktrace
Responses
Successful
Status: 200
Body:
DummyViewController;tableView:heightForRowAtIndexPath:;DummyViewController.m;51
DummyViewController;configureDataSource;DummyViewController.m;273
DummyViewController;viewDidLoad;DummyViewController.m;65
Error: App not found or wrong identifier
Status: 404
Authentification failed
Status: 400