OnCommand Storage Management Software Discussions

Cannot export workflows via UUID with RESTAPI DAR Curl or Python in 4.2RC1

We are just trying to streamline automation of DAR file exports for backup.  This is because of the Zombie Worklflow we encountered (See other thread)

 

The restapi and curl commands don't return any data.

 

 

curl -X GET --header 'Accept: text/plain' 'https://server/rest/dars'

^doesn't work at all

 

 

curl -X GET --header 'Accept: application/x-7z-compressed' 'https://server/rest/dars/846fceb9-5e06-4848-bfa5-3389f24c0d48

'

 ^^ UUID provided

Error is no match for accept header?

 

Has anyone worked on scripting dar file exports with RESTAPI

 

Forums