Datasets
List all datasets
client.datasets.list(RequestOptionsoptions?): DatasetList { datasets }
GET/api/v1/datasets
Create a new dataset (admin only)
client.datasets.create(DatasetCreateParams { name, slug, attribution, 3 more } body, RequestOptionsoptions?): Dataset { id, inserted_at, name, 6 more }
POST/api/v1/datasets
Get dataset by ID
client.datasets.retrieve(stringid, RequestOptionsoptions?): Dataset { id, inserted_at, name, 6 more }
GET/api/v1/datasets/{id}
Delete a dataset
client.datasets.delete(stringid, RequestOptionsoptions?): void
DELETE/api/v1/datasets/{id}
Query features in a dataset
client.datasets.features(stringid, DatasetFeaturesParams { cursor, limit } query?, RequestOptionsoptions?): FeatureCollection { features, type }
GET/api/v1/datasets/{id}/features