Skip to main content
POST
Run a sync pass now

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

database
string
required

The database the table is in.

table
string
required

The table to sync. It must have been loaded with sync: true.

Query Parameters

dry_run
boolean

true reports the files that changed and applies nothing. false when left out.

Response

Nothing was started: a dry run (?dry_run=true), which lists the files a pass would apply, or a pass that found nothing changed.

The files a sync pass applies, by what became of each since the table last loaded them. Answered with 202 when a pass was started, and with 200 for a dry run or when nothing changed.

gone
object[]
required

Files the table loaded that the source no longer holds.

job
string
required

The name of the table's load, which the pass runs as part of.

new
object[]
required

Files the source holds that the table has not loaded.

rewritten
object[]
required

Files the table loaded that the source now holds at another version.

state
enum<string>
required

Where the table's load stands now: live when a pass was started, synced for a dry run or when nothing changed.

Available options:
admitting,
pending,
running,
cancelling,
stopped,
succeeded,
synced,
failed,
unknown
deferred
integer

Files that changed past the ones this pass applies, left for the passes after it.

Required range: x >= 0
dry_run
boolean

true on the answer to a dry run; left out otherwise.

unlisted
string[]

The first few folders of the source that could not be listed. Nothing under them is counted gone.