flexmeasures.api.v3_0.deprecated

Classes

class flexmeasures.api.v3_0.deprecated.SensorEntityAddressAPI

DEPRECATED endpoints for getting and posting sensor data.

Use the endpoints with “<id>” in the URL, which do not rely on an entity address.

Also, these are last remnants on using entity addresses anywhere. Once these endpoints are actually removed, we can consider also deleting entity address supporting code (in utils, some schemas, etc.)

get_data_deprecated(sensor_data_description: dict)

Get sensor data from FlexMeasures.

This endpoint is deprecated. Get from /sensors/(id)/data instead.

post_data_deprecated(data: dict)

Post sensor data to FlexMeasures.

This endpoint is deprecated. Post to /sensors/(id)/data instead.