stve / airbrake-api

Airbrake API Ruby Client
https://rubygems.org/gems/airbrake-api
MIT License
44 stars 23 forks source link

Update path to get the XML for a specific error #32

Closed groman-me closed 11 years ago

groman-me commented 11 years ago

Hello!

Seems that AB has changed the URL address for a specific error. Now it's http://your_account.airbrake.io/errors/ERROR-ID.xml?auth_token=TOKEN (http://help.airbrake.io/kb/api-2/api-overview). It has errors instead of groups.

groman-me commented 11 years ago

Also available endpoint http://your_account.airbrake.io/projects/PROJECT-ID/groups/ERROR-ID.xml?auth_token=TOKEN but it is not listed in documentation. The current implementation returns 400 Bad Request with body: invalid groupId id: "....xml"

stve commented 11 years ago

thanks for the tip, their documentation could use a lot of improvement

stve commented 11 years ago

have you found that /groups is not working for you? We actually switched the paths not too long ago from /errors to /groups so I'm not sure which path (if any) yields the correct results. see #25 for some background on that change

groman-me commented 11 years ago

The current implementation with /groups worked for me couple months ago. When I tried it again(about 2 weeks ago) it raised error. I've tried with old paid project and with new free account. Both have same issue. Path for notices and list of errors works ok.

stve commented 11 years ago

Fair enough, merged. Thanks.

stve commented 11 years ago

released in version 4.5.0, thanks!