Datasets - Reupload

Reupload Service Preview

Changed on

Preview a remote service layer for dataset re-upload.

post/datasets/{dataset_id}/reupload/service/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

Request body

urlstring required
service_typestring required
layer_namestring required
layer_titlestring nullable
tokenstring nullable

Deprecated: use the auth object with method bearer.

object_id_fieldstring nullable

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 optional property to the response with the status

    • info

      added the optional property to the response with the status