Web Services API


BugSplat provides a RESTful web service for common pages containing useful crash information. In most cases, if you are viewing a webpage that contains crash data, the JSON formatted data can be returned by simply adding a URL parameter “data.” The “pagesize” and “pagenum” URL parameters are used to control what portion of data to return. The database can be selected using the "database" URL parameter.

The links below show several sample web service API access links. The return values will depend upon the data available in the currently selected BugSplat database.

Example

You can access the web services with a variety of tools. Here’s an example using Curl to connect to the Fred database:

  • rm cookies.txt
  • curl -b cookies.txt -c cookies.txt https://app.bugsplat.com/login
  • curl -b cookies.txt -c cookies.txt --data "currusername=fred@bugsplat.com&currpasswd=Flintstone" https://app.bugsplat.com/browse/login.php
  • curl -b cookies.txt -c cookies.txt "https://app.bugsplat.com/allCrash/?data&database=Fred"
  • curl -b cookies.txt -c cookies.txt "https://app.bugsplat.com/individualCrash/?data&id=58464&database=Fred"