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

PUT /APInoauth/debug/echo
Accept: application/json
NONE
<ItemSearchDocument xmlns="http://xml.vidispine.com/schema/vidispine">
  <text>test</text>
</ItemSearchDocument>
HTML/XML
200 OK
NONE
{
  "text": [
    {
      "value": "foo"
    }
  ]
}
NONE