-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
Description
Bug Description
When subscribing to v1.1/Observations?$expand=Datastream
via MQTT, the Datastream object in the response contains only the ID and selfLink fields, rather than the complete Datastream information.
Current Behavior
The MQTT message received contains a Datastream object with minimal information:
{
"@iot.selfLink": "https://server/v1.1/Observations(90213403)",
"@iot.id": 90213403,
"phenomenonTime": "2025-04-10T08:44:13.28Z",
"resultTime": null,
"result": 3791,
"Datastream": {
"@iot.selfLink": "https://server/v1.1/Datastreams(103111)",
"@iot.id": 103111
},
"Datastream@iot.navigationLink": "Observations(90213403)/Datastream",
"FeatureOfInterest@iot.navigationLink": "Observations(90213403)/FeatureOfInterest"
}
Subscribing to v1.1/Observations?$expand=Datastream($select=description)
results in an empty Datastream.
Expected Behavior
The Datastream object should include all fields such as name, description, etc.
Steps to Reproduce
Subscribe to v1.1/Observations?$expand=Datastream
POST an Observation
Environment
Application Version: 2.5