Set how the values of MQTT metrics are compressed
PUT/metrics/compression
Sets the compression of one or several MQTT metrics at once, from the metric administration (HET-2188) - also for a metric no signal reads. All or nothing: a metric that is not MQTT, or a compression the platform does not offer, refuses the whole request with 400, the refused metrics named in the message (the first 20). Takes effect with the mqtt-client's next reconciliation (30 s).
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 409
- default
Stored.
the default error response
Unauthorized — the bearer token is missing, expired or invalid, or carries no role. Errors raised by the security aspects contain an ErrorDto body; requests rejected by the security filter chain may have an empty body.
Forbidden — the authenticated user lacks the required role or access rights.
Entity not found.
A selected metric is being deleted; the message names it.
the default error response