The 7.3.1 Product Guide states that REST can be used to perform manual engine updates but it doesn't give any sample scripts or hints as to how this can be done. Is there any reference doc that lists the new REST interface additions?
You will first need access to the update download site to get the .upd file:
Then you can use command similar to the following:
# Set the REST URL
curl -c cookies.txt -X POST -H "Accept: application/mwg+xml" "$REST/login?userName=admin&pass=webgateway"
# Send the update file
curl -b cookies.txt --data-binary @mwg7-linux-dcc.upd -X POST "$REST/updateEngines" -H "Content-Type: text/plain; charset=UTF-8"
curl -b cookies.txt -X POST "$REST/logout;"
*replace the bolded text with the necessary values
Hope this helps,
Thanks this is exactly what I was looking for.
Does anyone know if I can replicate the upd file using an epo distributed repository?