v4
latestSwagger 2.02026-08-0343714211.7 MBList Syncs
List Syncs
Query parameters
Used for pagination. When a list request has more records available, cursors are provided in the response headers X-Files-Cursor-Next and X-Files-Cursor-Prev. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
If set, sort records by the specified field in either asc or desc direction. Valid fields are site_id, workspace_id or name.
If set, return records where the specified field is equal to the supplied value. Valid fields are workspace_id, disabled, src_remote_server_id or dest_remote_server_id. Valid field combinations are [ workspace_id, disabled ], [ workspace_id, src_remote_server_id ], [ workspace_id, dest_remote_server_id ], [ disabled, src_remote_server_id ], [ disabled, dest_remote_server_id ], [ workspace_id, disabled, src_remote_server_id ] or [ workspace_id, disabled, dest_remote_server_id ].
Response
A list of Syncs objects.
Example response
[
{
"id": 1,
"name": "example",
"description": "example",
"site_id": 1,
"workspace_id": 1,
"user_id": 1,
"src_path": "example",
"dest_path": "example",
"src_remote_server_id": 1,
"dest_remote_server_id": 1,
"src_site_id": 1,
"dest_site_id": 1,
"two_way": true,
"keep_after_copy": true,
"delete_empty_folders": true,
"disabled": true,
"trigger": "example",
"trigger_file": "example",
"always_write_trigger_file": true,
"include_patterns": [
"example"
],
"exclude_patterns": [
"example"
],
"created_at": "2000-01-01T01:00:00Z",
"updated_at": "2000-01-01T01:00:00Z",
"sync_interval_minutes": 1,
"interval": "week",
"recurring_day": 25,
"schedule_days_of_week": [
0,
2,
4
],
"schedule_times_of_day": [
"06:30",
"14:30"
],
"schedule_time_zone": "Eastern Time (US & Canada)",
"holiday_region": "us_dc",
"latest_sync_run": {
"id": 1,
"body": "example",
"bytes_synced": 1,
"compared_files": 1,
"compared_folders": 1,
"completed_at": "2000-01-01T01:00:00Z",
"created_at": "2000-01-01T01:00:00Z",
"dest_remote_server_type": "example",
"dry_run": true,
"errored_files": 1,
"estimated_bytes_count": 1,
"event_errors": [
"example"
],
"log_url": "https://www.example.com/log_file.txt",
"runtime": 1,
"site_id": 1,
"workspace_id": 1,
"src_remote_server_type": "example",
"status": "example",
"successful_files": 1,
"sync_id": 1,
"sync_name": "Azure to SharePoint Sync",
"updated_at": "2000-01-01T01:00:00Z",
"live_transfers": [
{
"path": "example",
"status": "example",
"bytes_copied": 1,
"bytes_total": 1,
"percentage": 1,
"eta": "example",
"started_at": "example"
}
]
}
}
]