GNSS
RecordGnssCoordinates
Report device coordinates, commonly obtained from the device's GNSS modem.
Basic Request:
curl --location --request POST "$API_HOST/v1/location/gnss" \
--header "Authorization: Bearer $JWT" \
--header "Content-Type: application/json" \
--data-raw "{\"lat\":$LAT, \"lon\":$LON, \"spd\":$SPD, \"acc\":$ACC, \"alt\":$ALT, \"hdg\":$HDG}"
post/location/gnss
Request
- Base URLhttps://api.location.nrfcloud.com/v1/organizations/my-org/projects/my-project
- Auth
- HTTP bearer
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-custom-device-idstring
User-defined device ID, used to identify requests when using a cloud-to-cloud integration. Ignored if using a device token.
Example:my-device-12345
Request body
Example request
{
"lat": 45.524098,
"lon": -122.688408,
"acc": 15,
"alt": 159,
"spd": 1,
"hdg": 90
}Changes
No recorded changes to this operation across all 7 revisions of this API.