/
A small hidden call to get JSON notation
Vidispine
A small hidden call to get JSON notation
I know it hasn’t been easy to find out the JSON notation for some of the document entities in Vidispine. Good news! Since 4.2.2, there is a hidden call for getting this format.
The resource to be used is PUT /APInoauth/debug/echo.
An example using cURL:
curl localhost:8080/APInoauth/debug/echo -Hcontent-type:application/xml -Haccept:application/json -d@- -X PUT << EOF
field_a
my other value
EOF
which will give the result:
{"timespan":[{"field":[{"name":"field_a","value":[{"value":"my other value","mode":"add"}]}],"start":"-INF","end":"+INF"}]}
I know what you are thinking.
"Can I trust that that resource will stay?" Yes, indeed.
"Are there other hidden resources under the debug path?" No, not yet :-)
, multiple selections available,
Related content
Getting Started With the Vidispine .NET SDK
Getting Started With the Vidispine .NET SDK
Read with this
Under the hood: VidiCore services explained
Under the hood: VidiCore services explained
Read with this
How-to articles
How-to articles
Read with this
VidiCore API
VidiCore API
Read with this