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
    }
  }
}

Changes

Changed in 3 of the 6 revisions of this API.2415

    • the endpoint scheme security accessToken was removed from the API

      api-security-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the optional property collections from the response with the 200 status

      response-optional-property-removed

    • removed the optional property srvDate from the response with the 200 status

      response-optional-property-removed

    • the endpoint scheme security accessToken was added to the API

      api-security-added

    • the endpoint scheme security jwtoken was added to the API

      api-security-added

    • the endpoint scheme security apiKeyAuth was removed from the API

      api-security-removed

    • added the media type application/json for the response with the status 401

      response-media-type-added

    • added the media type application/json for the response with the status 403

      response-media-type-added

    • added the optional property result to the response with the 200 status

      response-optional-property-added

    • added the optional property status to the response with the 200 status

      response-optional-property-added

  • e3a793475629227See the full diff
    • removed the media type application/json for the response with the status 401

      response-media-type-removed

    • removed the media type application/json for the response with the status 403

      response-media-type-removed

    • removed the optional property result from the response with the 200 status

      response-optional-property-removed

    • removed the optional property status from the response with the 200 status

      response-optional-property-removed

    • the endpoint scheme security apiKeyAuth was added to the API

      api-security-added

    • the endpoint scheme security jwtoken was removed from the API

      api-security-removed

    • added the new optional header request parameter Date to all path's operations

      new-optional-request-default-parameter-to-existing-path

    • added the new optional query request parameter now to all path's operations

      new-optional-request-default-parameter-to-existing-path

    • added the new optional query request parameter token to all path's operations

      new-optional-request-default-parameter-to-existing-path

    • added the optional property collections to the response with the 200 status

      response-optional-property-added

    • added the optional property srvDate to the response with the 200 status

      response-optional-property-added

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog