GET
curl -u 'moab-admin:changeme!' \
'https://localhost:8080/mws/rest/jobs?api-version=3&pretty=true'
POST
curl -u 'moab-admin:changeme!' \
-X POST \
-H 'Content-Type: application/json' \
-d '{"commandFile":"/tmp/test.sh","initialWorkingDirectory":"/tmp","credentials":{"group":"adaptive","user":"adaptive"},"requirements":[{"taskCount":4}]}' \
'https://localhost:8080/mws/rest/jobs?api-version=3'
PUT
curl -u 'moab-admin:changeme!' \
-X PUT \
-H 'Content-Type: application/json' \
-d '{"holds":["user"]}' \
'https://localhost:8080/mws/rest/jobs/Moab.93?api-version=3'
DELETE
curl -u 'moab-admin:changeme!' \
-X DELETE \
'https://localhost:8080/mws/rest/jobs/Moab.93?api-version=3'