Skip to main content

Component Endpoints

Create and manage different types of visualization components for dashboards.

POST /components/map

Creates a new map component for geospatial data visualization.

POST /components/timeseries

Creates a new time series component for charts and graphs.

GET /components

Retrieves all components in the user’s library.

GET /components/

Retrieves a specific component by ID.

PUT /components/map/

Updates an existing map component.

PUT /components/timeseries/

Updates an existing time series component.

DELETE /components/

Permanently deletes a component from the user’s library.

Component Types

Map Component

  • Type: map
  • Required: name, config (latitude, longitude, zoom)
  • Optional: layer_ids (array of layer IDs)

Time Series Component

  • Type: timeseries
  • Required: name, config (title, datasets)
  • Optional: config.y_axis_label, config.unit