v1

latestOpenAPI 3.0.0AGPL 32026-07-17113256.8 KB
other

LAST MODIFIED: Retrieves timestamp of the last modification of every collection

LAST MODIFIED operation inspects collections separately (in parallel) and for each of them it finds the date of any last modification (insertion, update, deletion). Not only srvModified, but also date and created_at fields are inspected (as a fallback to previous API).

This operation requires read permission for the API and the collections (e.g. api:treatments:read). For each collection the permission is checked separately, you will get timestamps only for those collections that you have access to.

get/lastModified

Response

Successful operation returning the timestamps

statusinteger

Example response

{
  "status": 200,
  "result": {
    "srvDate": 1556260878776,
    "collections": {
      "devicestatus": 1556260760974,
      "treatments": 1553374184169,
      "entries": 1556260758768,
      "profile": 1548524042744
    }
  }
}