The following contains additional information concerning the use of JSON with the CDAS web services.
This document assumes that the reader is familar with the CDAS web services and JSON.
The official interface to the CDAS web services is defined by this page and this XML schema. This is a well defined interface and every effort is made to maintain backward compatibility in future releases. Client developers who want maximum stability should use XML to interface with the CDAS web services. However, JSON is supported as an alternative. Anyone choosing to use JSON should realize that it is less stable and may change in the future. The rest of this document contains some working examples of using JSON with the CDAS web services.
The following section contains JSON examples of each type of CDAS request. The examples include the following:
The following illustrates an CDAS CDF
request.
The request entity body is
and the response is
The following illustrates an CDAS graph
request.
The request entity body is
and the response is
The following illustrates an CDAS listing
request.
The request entity body is
and the response is
Questions or comments concerning these Web services should be sent to CDAS Feedback.