List Sync History
Changed onList a log of all batch sync jobs for the current connection.
Request
- Base URLhttps://api.withterminal.com/tsp/v1
- URLhttps://api.withterminal.com/tsp/v1/syncs
- AuthHTTP bearer
Query parameters
The maximum number of results to return in a page.
Pagination cursor to start requests from
The status of the sync
Expand related resources in the response to reduce requests.
Headers
Scopes the request to a Terminal application in the caller's organization. Required for multi-application organizations when using a user session or OAuth access token. API keys are already bound to a single application.
The token returned when a user authenticated their account. This authorizes access to a specific account.
Response
OK
Example response
{
"results": [
{
"id": "sync_01GV12VR4DJP70GD1ZBK0SDWFH",
"status": "completed",
"failureReason": "Reason for failure if sync status is 'failed'",
"progress": 85,
"issues": [
"isu_01D8ZQFGHVJ858NBF2Q7DV9MNC"
],
"startFrom": "2021-01-06T03:24:53.000Z",
"requestedAt": "2021-01-06T03:24:53.000Z",
"completedAt": "2021-01-06T03:24:53.000Z",
"attempts": 1,
"providerRequests": [
"historical_files"
]
}
],
"next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
}Changes
- breaking
added the pattern
^[A-Za-z0-9+/=_-]+$to thequeryrequest parametercursor - breaking
added to the
///response propertyoneOflist for the response status - warning
added the new
provider_timeoutenum value to theresponse property for the response status - info
added the non-success response with the status
- info
removed
subschema #2from the///response propertyoneOflist for the response status - info
the
response's property pattern^[A-Za-z0-9+/=_-]+$was added for the status
- breaking