(GET) Sensor Configuration History
Retrieve Smart Mooring sensor configurations from a Spotter for 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 Spotter, specified by spotterId, between startDate and endDate.
This endpoint will only return sensor configuration history from June 2025 or later.
Query Parameters
spotterId
string
The Spotter ID of the device you wish to retrieve information from.
startDate
string
ISO 8601-formatted timestamp indicating the start date for data inclusion.
e.g., 2025-06-01T07:00:00Z
endDate
string
ISO 8601-formatted timestamp indicating the end date for data inclusion.
e.g., 2025-06-02T07:00:00Z
Response Description
The response body includes the configurations of all sensors attached to the Smart Mooring during the specified time window, ordered by timestamp. Each element of the data array represents a complete configuration at one time.
For more information about Smart Mooring sensors and data, please refer to the Sensors & Payloads guide.
timestamp
string
ISO 8601-formatted timestamp indicating the time the configuration was reported by the Spotter.
The timestamp of the first entry will be at or after the specified startDate. This does not necessarily indicate the earliest time the configuration was used, as the sensor configuration could have been in use prior to the specified startDate.
configuration_checksum
string
A unique identifier for the Smart Mooring configuration. Can be cross-referenced with the sensor data samples returned by the Sensor Data endpoint to determine the sensor configuration at the time of data collection.
If the sensors are returned to an earlier configuration, the configuration_checksum will also return to its previous value (as long as the sensors are in the same position and have the same configured settings).
sensor_configurations
array
The complete configuration of all sensors attached to the Spotter's Smart Mooring at a given time.
Sensor Configurations
The sensor_configurations array contains details on the configuration of each sensor.
app_name
string
The name of the sensor, returned for Bristlemouth sensors.
For Bristlemouth Development Kits, app_name can be changed for better identification of the device.
sensor_type
object
The name and display name of the sensor.
position
integer
The sensor's physical position in the Smart Mooring relative to the Spotter, with 1 being closest to the Spotter and 0 being the Bristlemouth processor within the Spotter at the root of the Smart Mooring.
configuration
object
The sensor's configuration settings.
data_types
array
The data fields and units potentially returned by the sensor among its data samples.
firmware_sha
string
The Bristlemouth mote's firmware version.
bristlemouth_node_id
string
The Bristlemouth mote's ID.
configuration_crc
string
An error-detecting code for the Bristlemouth mote.
Examples
Example Request
Example Responses
Configuration history:
No configuration history:
Incorrect token:
Missing token:
Last updated
Was this helpful?