• Products
  • Company
  • Developer
  • Marketplace
  • Contact
You are not logged in. Click here to login or register
Text size: small - normal - large

Topic: Can't force XML output from API

Rating:



Sort by most recent
You must be logged in to reply, click here to login.

Author Message
dellis@sacbee.com

According to the API tutorial, the following REST call should build a response using XML however I can only get it to output in the default JSON format.

http://api.vmixcore.com/apis/media.php?action=getMediaList&xml=1

I really appreciate your help!
siavash

dellis@sacbee.com wrote: Link
According to the API tutorial, the following REST call should build a response using XML however I can only get it to output in the default JSON format.

http://api.vmixcore.com/apis/media.php?action=getMediaList&xml=1

Proper parameter to send is output=xml, for your example it is:

http://api.vmixcore.com/apis/media.php?action=getMediaList&output=xml

- Siavash
jdgiotta

I've been using the parameter 'export'.

dellis is right though, the Tutorial page says 'xml=1' is how its done. http://developer.vmixcore.com/wiki/Tutorial_JSON_XML_Primer


dellis@sacbee.com

Ahh now it works perfectly.... I appreciate the info!
darren

sorry, that was my mistake in the documentation and I will fix that.  thanks!

Darren Craine Sr. Director of Engineering, VMIX