JobProxy REST API for running task independent of the framework
Version : 0.1.0.beta.1.10
License : Apache 2.0
License URL : http://www.apache.org/licenses/LICENSE-2.0.html
Terms of service : https://github.com/BiBiServ/jobproxy
DELETE /v1/jobproxy/delete/{id}
Delete a Task.
| Type | Name | Schema |
|---|---|---|
| Path | id required |
string |
| HTTP Code | Description | Schema |
|---|---|---|
| default | successful operation | No Content |
GET /v1/jobproxy/ping
Just a simple ping command.
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | successful operation | string |
text/plain
GET /v1/jobproxy/state
Returns the state of all tasks in machine readable format (either xml or json * depending on request-header mime-type)
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | successful operation | States |
application/jsonapplication/xml
GET /v1/jobproxy/state/{id}
Returns the state of one task with given id in machine readable format. * (either xml or json depending on request-header mime-type)
| Type | Name | Schema |
|---|---|---|
| Path | id required |
string |
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | successful operation | State |
application/jsonapplication/xml
POST /v1/jobproxy/submit
Submit a task
| Type | Name | Schema |
|---|---|---|
| Body | task optional |
Task |
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | successful operation | string |
application/jsonapplication/xml
text/plain
| Name | Description | Schema |
|---|---|---|
| container required |
Length : 1 - 2147483647 |
string |
| host required |
Length : 1 - 2147483647 |
string |
| mode required |
Length : 1 - 2147483647 |
string |
| Name | Schema |
|---|---|
| container optional |
integer (int32) |
| host optional |
integer (int32) |
| Name | Schema |
|---|---|
| code required |
string |
| description optional |
string |
| id required |
string |
| stderr optional |
string |
| stdout optional |
string |
| Name | Schema |
|---|---|
| state optional |
< State > array |
| Name | Description | Schema |
|---|---|---|
| image required |
Length : 1 - 2147483647 |
string |
| mounts optional |
< TMounts > array | |
| ports optional |
< TPorts > array |
| Name | Schema |
|---|---|
| mount required |
Mount |
| Name | Schema |
|---|---|
| port required |
Port |
| Name | Description | Schema |
|---|---|---|
| cmd optional |
< string > array | |
| container optional |
TContainer | |
| cores optional |
integer (int32) | |
| cputime optional |
integer (int32) | |
| memory optional |
integer (int32) | |
| stderr optional |
string | |
| stdout optional |
string | |
| user required |
Length : 1 - 2147483647 |
string |