Skip to content

Name sensor status fields in kebab case, with deprecated aliases - #2773

Open
niukanen1 wants to merge 2 commits into
FlexMeasures:mainfrom
niukanen1:fix/sensor-status-kebab-fields-2770
Open

niukanen1 wants to merge 2 commits into
FlexMeasures:mainfrom
niukanen1:fix/sensor-status-kebab-fields-2770

Conversation

@niukanen1

Copy link
Copy Markdown
Contributor

The sensor status endpoint now returns staleness-since, source-type, asset-id and asset-name alongside the deprecated snake_case aliases, with identical values. The status page uses the kebab-case fields.

The API documentation and OpenAPI examples show both spellings and the sensors_data wrapper.

Fixes #2770

@niukanen1
niukanen1 force-pushed the fix/sensor-status-kebab-fields-2770 branch from 7d079b2 to 6d9442c Compare October 29, 2026 07:30
Signed-off-by: niukanen1 <57656076+niukanen1@users.noreply.github.com>
@niukanen1
niukanen1 force-pushed the fix/sensor-status-kebab-fields-2770 branch from 6d9442c to 36f1c7c Compare October 29, 2026 07:34
… section

Signed-off-by: niukanen1 <57656076+niukanen1@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Name the fields of a sensor's status in kebab case, with a deprecation period for the snake case ones

1 participant