Resource/Status Check Specification: JSON or XML?

I'm implementing the resource/status check endpoints on a new Cobalt module, using the [NSA Wiki documentation][1]. The module itself is taken off of the Java module template project. In that project, there is a minimal controller for the status and resource check endpoints. However, the resource check endpoint in the template has the resource-check response implemented as a JSON response rather than the XML response specified by the documentation. The status check is XML, however, which agrees with the documentation. Does anybody know if the documentation on the wiki linked above is out of date, or perhaps the template is doing something wrong? Perhaps both JSON and XML work? [1]:
http://nsawiki.int.westgroup.com/wiki/index.php5/Standard_Cobalt_Status_Check

Best Answer

  • Brian - This documentation should be up to date. The easiest answer is to stick with XML.