Verbose JSON response from web API?

tobs1701

Posted on
Jul 12 2013

Problem: application sends environment and stack trace info to Raygun, which is available on the dashboard. GET requests to the REST API, however, contain a very limited subset of what's actually sent to Raygun.

Question: can the API be made to provide more verbose JSON than what is normally included in an HTTP response?

Rationale: I'm trying to create a browser extension that will facilitate entering Raygun data into our central bug-tracking system. Without the environment and stack trace data, though, I'm stuck.

If this isn't currently possible, I can open a feature request.


John-Daniel Trask

Raygun

Posted on
Jul 15 2013

Hi,

First off - thanks for experimenting with Raygun. At present the 'read API' is not really designed for public consumption, we do have a first class read-api planned for end users but it's a wee while away at the moment.

At present we are calling the read API just from our app which means we might change those API's at any stage and it would be bad to break your app when we did that. I'd hold fire until we have a public API.

What the team is focused on at the moment (and hopefully publicly demonstrating next week!) is third party product integration with various notification services and issue trackers. Would you mind sharing what your issue tracker is? Perhaps we could build the integration ourselves to the benefit of you and all other users of that system.

[Argh - sorry for the delay on this - I evidently wrote this reply last week and didn't click post! It's been on a background tab all weekend -- sorry for the delay!]

Kind regards,

John-Daniel Trask
Co-founder
Mindscape Limited


tobs1701

Posted on
Jul 16 2013

Hi John,

I'm not quite sure which read API you're referring to; I'm referring to the REST API listed on the providers page of your site (http://raygun.io/raygun-providers/rest-json-api).

Our issue tracker is Fogbugz. Will your integration feature include the ability to tie-in Raygun with Fogbugz?

I was eventually able to get the full output I needed by GETting a specific error occurrence (i.e. https://api.raygun.io/errors/#######/occurrences/latest). Unfortunately, the API also considers any GETs from https://app.raygun.io to be a cross-site HTTP request and blocks the request. This is troublesome when you're trying to create an extension that should work from the Raygun dashboard.

How far out is your third party integration? Are you still on track for next week?


Reply