I know I promised not to make anymore drastic changes to the API, but ... well ... I lied.
The two API write operations (voting on posts and watching/unwatching articles) used to always respond with a JSON object in the format success: true or success: false
Now, they return the following:
- If successful, a JSON object with information about the action that was performed
- If unsuccessful and JSON was requested, an HTTP 400 error
- If unsuccessful and JSONP was requested, a JSON object with a bad request error message