Datasets

Update a dataset (new version)

Replace dataset metadata and receive a new upload URL for a new version. Upload the updated file to trigger reprocessing.

put/v1/datasets/{datasetId}

Request

  • Base URL: https://api.terranode.co
  • URL: https://api.terranode.co/v1/datasets/{datasetId}
  • Auth: API key in header x-api-key

Path parameters

datasetIdstring uuid required

Dataset UUID.

Request body

namestring required
filenamestring required

Original filename. Format is detected from the extension. Accepted: .zip (shapefile), .geojson, .json, .kml, .kmz, .csv, .gpkg (GeoPackage). Geometries must already be in WGS84 / EPSG:4326; reproject upstream before upload.

descriptionstring
summarystring
slugstring
fieldDescriptionsobject

Response

Dataset updated. Upload your file to the returned URL.

datasetIdstring uuid required
uploadUrlstring uri required

Presigned S3 URL. Upload your file here via HTTP PUT.

expiresIninteger required

Seconds until the upload URL expires (900).

Changes

No recorded changes to this operation across all 1 revision of this API.