Datasets - Reupload

Reupload Preview

Changed on

Preview the schema diff between old dataset and new upload.

When the uploaded file contains multiple layers, the response includes all_layers (for frontend layer-select UI) and previous_source_layer (pre-selection hint from the most-recent completed IngestJob for this dataset). Pass layer_name in the request body to target a specific layer; omit it to get the default first-layer metadata.

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

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

layer_namestring nullable
srid_overrideinteger nullable

The SRID override the commit will send, so the preview judges the coordinate system the replacement will be stored in.

Response

Successful Response

job_idstring uuid required
source_filenamestring nullable required
crsinteger nullable required
geometry_typestring nullable required
feature_countinteger nullable required
sample_rowsobject[] required
layer_namestring required
all_layersobject[] nullable
previous_source_layerstring nullable
review_reasonsstring[]

Changes in this file replacement or service re-upload that hold it for review.

review_fingerprintstring nullable

Fingerprint of the reviewed changes. Send it as the commit's review_fingerprint once a person has seen them; null when nothing needs review.

Changes

    • warning

      added the new live_data_changed enum value to the / response property for the response status

    • info

      added the new optional request property /

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status