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.
Response
Successful operation returning the timestamps
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
accessTokenwas removed from the APIapi-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
collectionsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
srvDatefrom the response with the200statusresponse-optional-property-removed
- ○
the endpoint scheme security
accessTokenwas added to the APIapi-security-added
- ○
the endpoint scheme security
jwtokenwas added to the APIapi-security-added
- ○
the endpoint scheme security
apiKeyAuthwas removed from the APIapi-security-removed
- ○
added the media type
application/jsonfor the response with the status401response-media-type-added
- ○
added the media type
application/jsonfor the response with the status403response-media-type-added
- ○
added the optional property
resultto the response with the200statusresponse-optional-property-added
- ○
added the optional property
statusto the response with the200statusresponse-optional-property-added
- ●
- ▲
removed the media type
application/jsonfor the response with the status401response-media-type-removed
- ▲
removed the media type
application/jsonfor the response with the status403response-media-type-removed
- ●
removed the optional property
resultfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
statusfrom the response with the200statusresponse-optional-property-removed
- ○
the endpoint scheme security
apiKeyAuthwas added to the APIapi-security-added
- ○
the endpoint scheme security
jwtokenwas removed from the APIapi-security-removed
- ○
added the new optional
headerrequest parameterDateto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the new optional
queryrequest parameternowto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the new optional
queryrequest parametertokento all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the optional property
collectionsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
srvDateto the response with the200statusresponse-optional-property-added
This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲