Versions

Append To Version

Append new data to an existing (geo)database table.

Schema of input file must match or be a subset of previous input files.

Only the dataset's owner or a user with ADMIN user role can do this operation.

post/dataset/{dataset}/{version}/append

Request

  • Base URL: https://data-api.globalforestwatch.org (the document declares no server; this is the origin it was published from)
  • URL: https://data-api.globalforestwatch.org/dataset/{dataset}/{version}/append
  • Auth: OAuth 2 (password, token URL /token)

Path parameters

datasetstring required
versionstring required

Request body

source_uristring[] required
source_driver'CSV' | 'ESRIJSON' | 'FileGDB' | 'GeoJSON' | 'GeoJSONSeq' | 'GPKG' | 'ESRI Shapefile'

Vector source driver of input file

layersstring[]

List of layer names to append to version. Only required for .gdb and .gpkg.

Response

Successful Response

statusstring

Example response

{
  "data": {
    "metadata": {
      "content_date_range": {
        "start_date": "2000-01-01",
        "end_date": "2021-04-06"
      },
      "content_date_description": "2000 - present"
    }
  }
}

Changes

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