Update API and JSON Job Documentation

This PR updates the api documentation to reflect 0.6 HTTP API and the
JSON job specification as well.
This commit is contained in:
Alex Dadgar
2017-07-25 17:18:15 -07:00
parent 887c3e0e24
commit 58898e1426
5 changed files with 192 additions and 85 deletions

View File

@@ -58,6 +58,7 @@ $ curl \
"ValidationErrors": [
"Task group cache validation failed: 1 error(s) occurred:\n\n* Task redis validation failed: 1 error(s) occurred:\n\n* 1 error(s) occurred:\n\n* minimum CPU value is 20; got 1"
],
"Warnings": "1 warning(s):\n\n* Group \"cache\" has warnings: 1 error(s) occurred:\n\n* Update max parallel count is greater than task group count (13 > 1). A destructive change would result in the simultaneous replacement of all allocations.",
"Error": "1 error(s) occurred:\n\n* Task group cache validation failed: 1 error(s) occurred:\n\n* Task redis validation failed: 1 error(s) occurred:\n\n* 1 error(s) occurred:\n\n* minimum CPU value is 20; got 1"
}
```