Upload task logs
POST
/tasks/logs/{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 | {hostname: string, logsGzip: base64 string} |
{}
Responses
3 responses
Status | Description | Type |
|---|---|---|
200 | Response: {message: ok} | object |
400 | Invalid request | object |
500 | Internal server error | object |
{}{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }