Troubleshooting with Echo
These resources are intended to aid when developing against Vidispine or when troubleshooting.
XML and JSON
Echo
PUT /APInoauth/debug/echo
Returns the provided XML in the Vidispine schema as either XML or JSON.
Use it to verify that XML is valid and parsed properly, or to convert from XML to JSON for example.
Accepts: |
|
---|---|
Produces: |
|
Example
PUT /APInoauth/debug/echo
Accept: application/json
<ItemSearchDocument xmlns="http://xml.vidispine.com/schema/vidispine">
<text>test</text>
</ItemSearchDocument>
200 OK
{
"text": [
{
"value": "foo"
}
]
}