Agent is ready for two-phase startup
POST
/tasks/agent-ready/{id}Contract
Parameter | Value |
|---|---|
| Section | tasks |
| Authentication | AgentAuth |
| Consumes | application/json |
| Produces | application/json |
Parameters
2 parameters
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | Task ID |
| request | body | yes | object | Agent hostname |
{ "hostname": "<string>" }
Responses
2 responses
Status | Description | Type |
|---|---|---|
200 | Readiness confirmed | object |
400 | Agent secret is missing or invalid, or the task ID or request body is invalid | object |
{}{ "data": {}, "error": "<string>" }