Download OpenAPI specification:
API for sending sensor data into ABC Dust Platform and checking service health.
Requires a valid token as a query parameter for protected endpoints.
The API supports multiple customers through client codes in the URL path. Each customer is assigned a unique client code that routes data to their tenant.
Operations related to sensor data ingestion.
Use the /{clientCode}/sensors endpoint with your assigned client code.
Accepts sensor data as JSON in the request body and stores it in ABC Dust Platform.
The clientCode path parameter identifies the customer tenant.
Available Client Codes:
Requires a valid token as a query parameter.
| clientCode required | string^[A-Z0-9]{6}$ Example: CU01SG Customer client code (6 alphanumeric characters). This identifies your tenant in the multi-tenant system. Contact ABC Dust support to obtain your assigned code. |
| token required | string Example: token=YOUR_API_TOKEN_HERE API token for authentication. Obtain from ABC Dust support. |
| altitude required | number <float> Altitude reading in meters. |
| acceleration required | number <float> Acceleration reading. |
required | object Contains specific device-related sensor values. |
| gyroscope required | number <float> Gyroscope reading. |
| timestamp required | integer <int64> Timestamp of the reading (milliseconds since Unix epoch). |
| latitude required | number <double> Latitude coordinate (WGS84). |
| longitude required | number <double> Longitude coordinate (WGS84). |
| conf required | string Configuration identifier (e.g., device type like "Cloudgate-Mini"). |
| temperature required | number <float> Temperature reading in Celsius. |
| speed required | number <float> Speed reading in km/h. |
| CGSerial | string Cloudgate device serial number. |
| flowmeter1 | number <float> Flowmeter channel 1 reading (mA). |
| flowmeter2 | number <float> Flowmeter channel 2 reading (mA). |
| flowmeter3 | number <float> Flowmeter channel 3 reading (mA). |
[- {
- "altitude": 82.7,
- "acceleration": 0,
- "deviceValues": {
- "dustConcentration": "0.033",
- "serialNumber": "8533202502",
- "model": "8533",
- "faultMessages": "0,0,0,0,0,0,0,0,0,0,0,1,0,70,0,87,0"
}, - "gyroscope": 0,
- "timestamp": 1746634948444,
- "latitude": 46.752689983333,
- "longitude": -71.45918015,
- "conf": "Cloudgate-Mini",
- "temperature": 0,
- "speed": 0,
- "CGSerial": "KM4AP5A998",
- "flowmeter1": 0,
- "flowmeter2": 0,
- "flowmeter3": 0
}, - {
- "altitude": 82.7,
- "acceleration": 0,
- "deviceValues": {
- "dustConcentration": "0.023",
- "serialNumber": "8533202502",
- "model": "8533",
- "faultMessages": "0,0,0,0,0,0,0,0,0,0,0,1,0,70,0,87,0"
}, - "gyroscope": 0,
- "timestamp": 1746634949444,
- "latitude": 46.752689966667,
- "longitude": -71.45918015,
- "conf": "Cloudgate-Mini",
- "temperature": 0,
- "speed": 0,
- "CGSerial": "KM4AP5A998",
- "flowmeter1": 0,
- "flowmeter2": 0,
- "flowmeter3": 0
}
]{- "success": true,
- "message": "Data saved to MongoDB and PostgreSQL Lambda triggered",
- "data": {
- "mongoId": "68336201f352a2f8f64ac570"
}
}Returns the status of the database connection for health checks. This endpoint does not require authentication.
{- "success": true,
- "message": "Successfully connected to database",
- "timestamp": "2026-01-07T12:00:00.000Z"
}