Runtime singularity instance start request
Request of start runtime singularity instance
Endpoint
POST /api/runtime/singularity/instance/
Auth
Authorization: Bearer ${token}
Body
Content-Type: application/json
Json
{
"bind": [],
"cpu": "",
"env": [],
"fakeroot": false,
"gpu": "",
"identity": "",
"image": "",
"memory": ""
}
Response
Json
[
{
"kind": "status",
"payload": {
"code": 0,
"message": ""
}
},
{
"kind": "entity",
"payload": ""
},
{
"kind": "entity",
"payload": {
"img": "",
"instance": "",
"ip": "",
"log_err_path": "",
"log_out_path": "",
"pid": 0
}
}
]
Notes
- Runtime Permission Required
- Read-Only Permission Restricted