Views API Documentation: Difference between revisions
Jump to navigation
Jump to search
(→Work) |
(→Work) |
||
Line 20: | Line 20: | ||
* [[Rest - Work - Session Groups|Session Groups]] | * [[Rest - Work - Session Groups|Session Groups]] | ||
** [[Rest - Work - Session Groups - Participants|Session Group Participants]] | ** [[Rest - Work - Session Groups - Participants|Session Group Participants]] | ||
** [[Rest - Work - Session Groups - Sessions|Sessions]] | ** [[Rest - Work - Session Groups - Sessions|Sessions]] | ||
* [[Rest - Work - Agency Projects|Agency Projects]] | * [[Rest - Work - Agency Projects|Agency Projects]] | ||
** [[Rest - Work - Agency Projects - Session Groups|Agency Project Session Groups]] | ** [[Rest - Work - Agency Projects - Session Groups|Agency Project Session Groups]] |
Revision as of 15:32, 9 May 2012
Rest
All of our REST services are available in both XML and JSON formats, unless otherwise stated. The default format is XML. For the purposes of this documentation we only document the XML method. If you want to interact using json, then you should either make sure you request using Content-Type: application/json
, alternatively you have append the extension .json
to the URI e.g:
curl --url <Base URL>/<id> -u<username>:<password> -H Accept:application/json
or
curl --url <Base URL>/<id>.json -u<username>:<password>