Bug Fix: Response Content Types

In a recent change I accidentally made the "Data" APIs (Coordinates, Credits, JumpWorlds, Search, Universe) produce JSON instead of XML unless otherwise requested if the default was XML. This has been corrected - the default content types should now be as documented in the API page.

While I don't intent to change the default data format for any API call - to maintain compatibility - new APIs may default to JSON... at least, until the Next Great Format comes along. To be robust, make sure you're requesting a specific format using the HTTP "Accept" header. Currently supported formats are:

  • XML: text/xml
  • JSON: application/json