queryDatasetListPost
API Version: 0.3.0
POST /dataset/{dataset}/{version}/query/batch
Execute a READ-ONLY SQL query on the specified raster-based dataset version.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Description
dataset
string
Dataset
version
number
version
feature_collection
Object
Feature collection (stringify object)
sql
Query
SQL
uri
string
URI to a vector file in a variety of formats supported by Geopandas
geostore_ids
number
An inline list of ResourceWatch geostore ids
id_field
string
An inline list of ResourceWatch geostore ids
Response
{
  "data": {
    "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
    "job_link": "string",
    "status": "pending",
    "message": "string",
    "download_link": "string",
    "failed_geometries_link": "string",
    "progress": "0%"
  },
  "status": "success"
}{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}Last updated