(GET) Sensor Configuration History

Retrieve Smart Mooring sensor configurations reported by a specified Spotter during a specified time window.

GET https://api.sofarocean.com/api/sensor-configuration-history?spotterId=:spotterId&startDate=:startDate&endDate=:endDate

Returns Smart Mooring sensor configurations for a specified Spotter between startDate and endDate.

circle-info

This endpoint will only return sensor configuration history from June 2025 or later.

Query Parameters

Name
Type
Description

spotterId

string

The identifier of the device you wish to retrieve information from.

startDate

string

ISO 8601-formatted timestamp indicating the start date for data inclusion. e.g., 2021-01-01T07:00:00Z

endDate

string

ISO 8601-formatted timestamp indicating the end date for data inclusion. e.g., 2021-01-02T07:00:00Z

Response Description

To learn more about the sensors and the measured data please review our Sensor Payload support documentarrow-up-right.

Each element of the data array represents a complete configuration of all sensors attached to the Smart Mooring at one time.

timestamp is an ISO8061-formatted string representing the time the configuration was reported by the Spotter, and it was in effect for all data samples collected until the following sensor configuration entry. If a sensor configuration was in use prior to the startTime query parameter passed in, the first entry will have the timestamp of the first sensor datum at or after startTime, not the earliest time the configuration was used.

configuration_checksum is a checksum unique to a given mooring configuration. If the Smart Mooring sensors are changed, but then later returned to an earlier configuration, the configuration_checksum will be the same, assuming the sensors are in the same positions and have the same setting configured. The configuration_checksum returned with sensor data samples from /sensor-data can be cross-referenced with this field to determine the sensor configuration with which the sample was collected.

The sensor_configurations array contains details of the configuration of each sensor:

  • sensor_type describes the type of sensor.

  • position is the physical position of a sensor in the Smart Mooring relative to Spotter. Position 1 is closest to Spotter, and position 0 is the Bristlemouth processor within the Spotter buoy at the root of the Smart Mooring.

  • configuration describes configuration settings for the sensor.

  • data_types describes the data fields and units potentially returned by the sensor among its data samples.

  • firmware_sha and bristlemouth_node_id refer to the Bristlemouth mote within the sensor.

Examples

Example Request

Example Response

Last updated

Was this helpful?