Skip to main content

Upload task logs

POST
/tasks/logs/{id}

Contract

Parameter
Value
Sectiontasks
AuthenticationAgentAuth
Consumesapplication/json
Producesapplication/json

Parameters

2 parameters

Name
Location
Required
Type
Description
idpathyesintegerTask ID
requestbodyyesobject{hostname: string, logsGzip: base64 string}
  • {}

Responses

3 responses

Status
Description
Type
200
Response: {message: ok}object
400
Invalid requestobject
500
Internal server errorobject
  • {}
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }