URL | PATCH {{basepath}}/hosting/:hosting_id/job/:jobId/ack |
---|---|
Category | Hosting |
Allows you to update the hosting object.
the request body should contain a HostingUpdateRequest object.
Returns a HostingGetResponse object.
:hosting_id | {{hosting_id}} | The hosting you want to update |
---|---|---|
:jobId | 12 | The id of the failed job to allow updates again |
{
"reason": "The reason you are acknowledging it"
}
PATCH {{basepath}}/hosting/:hosting_id/job/:jobId/ack
{
"reason": "The reason you are acknowledging it"
}
:hosting_id | {{hosting_id}} | The hosting you want to update |
---|---|---|
:jobId | 13 | The id of the failed job to allow updates again |
200 OK
{
"responseId": "1_725bcd6079eb7c869cf36df8a56996ef5d7dae52",
"status": "ok",
"message": "The failed job has been acknowledged"
}
PATCH {{basepath}}/hosting/:hosting_id/job/:jobId/ack
{
"reason": "The reason you are acknowledging it"
}
:hosting_id | {{hosting_id}} | The hosting you want to update |
---|---|---|
:jobId | 14 | The id of the failed job to allow updates again |
404 Not Found
{
"responseId": "1_9bd4a1eb5e01dee84f13a0c68031cd6d79bfebe2",
"status": "error",
"errorCode": "does_not_exist",
"errorMessage": "No such job"
}
PATCH {{basepath}}/hosting/:hosting_id/job/:jobId/ack
{
"reason": "The reason you are acknowledging it"
}
:hosting_id | {{hosting_id}} | The hosting you want to update |
---|---|---|
:jobId | 12 | The id of the failed job to allow updates again |
409 Conflict
{
"responseId": "1_926f1f002ac97ebe3389081d4e1bb99a473a0372",
"status": "error",
"errorCode": "conflict",
"errorMessage": "Job is not failed"
}