API

The API allows the automatic execution of popular operations such as obtaining information about excited datasets and operations to create, update and delete a dataset. Automation is particularly useful when repetitive actions are required. The descriptions of useful requests are provided below.

To explore the API examples on this page, you will need:

  1. Contact our support service by email request@aspectum.com or chat and ask for token 
  2. All API documentation is available here: https://aspectum.com/api/doc#/
  3. Specify your token by inserting “Authorization: Key ___(your token)____“.

Using the GET/datasets request, you can get a list of all available datasets that are available on the store in your account.

The GET/datasets/{id} request allows you to get the metadata of your datasets according to their Identifiers. The required parameter is the dataset identifier.

Using a POST/dataset request, you can create a dataset in the account store based on your dataset in geoJSON format.

The PUT/datasets/{id} request allows you to update the data in your existing dataset by overwriting from your geoJSON file. The required parameter is the dataset identifier.

Using the PATCH/datasets/{id} request, you can add additional records with new data to the existing dataset without having to re-publish the entire dataset. The required parameter is the dataset identifier.

Using the DELETE/datasets/{id} request, you can delete the dataset existing in your store. The required parameter is the dataset identifier.

All API documentation is available here: https://aspectum.com/api/doc#/