Reflection on the MQTT API

Thanks @Terdious for your feedback!

Super interesting remark :slight_smile: One doesn’t prevent the other, we could have a topic per device that would allow updating multiple features (in addition to the other topic per feature)

topic: gladys/master/device/:external_id/last_values

body:

{
  "feature_1_external_id": 1,
  "feature_2_external_id": 1,
}

For last_values I’m not sure, we can choose to stay in the singular in the API, then we’ll see if it’s clear to the developer that it’s a send of multiple data.

@Boimb What do you think?