Datasets - Reupload

Reupload Commit

Changed on

Commit a re-upload, queuing the background swap task.

post/datasets/{dataset_id}/reupload/{job_id}/commit

Request

  • The document declares no server URL.
  • Auth: one of:
    • OAuth 2 (password, token URL /api/auth/login)
    • API key in header X-Api-Key
    • API key in query parameter api_key

Path parameters

dataset_idstring uuid required
job_idstring uuid required

Request body

srid_overrideinteger nullable
expected_origin_kind'upload' | 'postgis' | 'service' | 'stac' | 'created' nullable

The dataset origin the client saw when it staged this replacement. When set, the commit is refused with 409 origin_changed if the dataset's origin no longer matches, so a service, STAC or registered-table binding established after the upload is not silently rebound to an upload. A client may omit the field to skip this concurrency check.

tokenstring nullable

Deprecated: use the auth object with method bearer.

layer_namestring nullable
review_fingerprintstring nullable

The preview's review_fingerprint, sent once a person has seen the changes it describes. A file replacement or service re-upload with review reasons publishes only when the worker's own fingerprint matches; otherwise its run ends blocked.

Response

Successful Response

job_idstring uuid required
statusstring required
messagestring required

Changes