Database Vacuuming
Changed onRemoves the duplicate samples (a retried write, a client that sends twice, a crash in the middle of a request leave some), then cleans up and optimizes the database and reclaims space, as far as the storage backend supports it. Only exact duplicates go: two different values at the same timestamp are both kept. Requires the delete scope, and a token without a sensor allow list.
Request
- The document declares no server URL.
- Auth: HTTP bearer
Response
Maintenance completed, with the number of duplicate samples removed
Changes
- info
the endpoint scheme security
bearerwas added to the API
- info
- breaking
removed the media type
text/plainfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking