Troubleshooting [VC 21.3 GEN]
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: -
application/xml – Any XML in the Vidispine schema.
Produces: -
application/xml, application/json – The input as XML or JSON.
-
Example
NONE
PUT /APInoauth/debug/echo
Accept: application/json
HTML/XML
<ItemSearchDocument xmlns="http://xml.vidispine.com/schema/vidispine">
<text>test</text>
</ItemSearchDocument>
NONE
200 OK
NONE
{
"text": [
{
"value": "foo"
}
]
}