Get latest external sync status
Returns isSyncing, the last completed job, and the currently active job (if any) for the given config.
Request
Method: GET
Path: /api/sync/status
Authentication: Not required
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| configId | string | query | Yes |
Responses
200 - Status
400 - Missing configId
Examples
cURL
curl -X GET \
-H "Content-Type: application/json" \
http://localhost:3000/api/sync/status
JavaScript
const response = await fetch('http://localhost:3000/api/sync/status', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
This documentation is automatically generated from the OpenAPI specification.