New HTTP code when adding a reminder
|
|
When I add a reminder I’m now getting a 201 code with an XML response containing the newly created reminder. I understand why the 201 is being returned, but am I right in thinking that I used to get a 200 code returned? My code is treating anything but a 200 as an error. I noticed that API for the reminders uses a new format without the /ws/ in the path and with an .xml extension. Are the other API methods going to be changed in the same way? Finally, I noticed that reminders can be added for a list of users. To make use of this, it seems like we need an API call to get the list of users with their corresponding IDs. Something like GET /#{token}/users.xml |
|
|
Hey Ben, the API has changed since we introduced multiuser reminders. Check out the updated reminders API docs at http://developer.37signals.com/backpack/reminders.shtml We’re gradually migrating Backpack toward an ActiveResource-style API, like Highrise. |
|
|
Hi Jeremy, Thanks for the info. In my Firefox extension, I’d like to allow reminders to be added for multiple users. To do that I need to be able to get a list of users and corresponding IDs for the account. It doesn’t seem like there is an API call for this. |
|
|
Too true, Ben! I added /users.xml and will deploy this evening. Thanks :) |
|
|
/users.xml doesn’t seem to work. Is it because I’m on a Solo account? I was expecting to see just one user (me) along with the ID. |
|
|
Ben, it was deployed this morning. Sorry for the delay! |
