Report file synchronization progress
POST
/agents/sync-progressContract
Parameter | Value |
|---|---|
| Section | agents |
| Authentication | AgentAuth |
| Consumes | application/json |
| Produces | application/json |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| request | body | yes | object | Synchronization data: hostname, status (syncing or failed), scope (full or priority), error, errorCode, failedFiles, downloadedBytes, totalBytes, missingSize, syncedBytes, syncTotal, speed |
{}
Responses
2 responses
Status | Description | Type |
|---|---|---|
200 | Successful response | no body |
400 | Agent secret is missing or the request body is invalid | object |
{ "data": {}, "error": "<string>" }