Get Document
info
All JSON array responses have been shortened for readability.
GET/<ApplicationID/collections/<CollectionID>/documents/<DocumentID>
SEARCH/<ApplicationID/collections/<CollectionID>/documents/<DocumentID>
QUERY/<ApplicationID/collections/<CollectionID>/documents/<DocumentID>
Endpoint Requires Authentication
note
Supports
SEARCH
and QUERY
to maintain a standard with no-ID endpoints, but doesn't offer any additional functionality. See
Get Documents for more info.Example
https://api.centrix.world/641c1177ebc8b2f3c195b02c/collections/641c1177ebc8b2f3c195b033/documents/641c64ef8fde9d1d8a0e1e39
Description
Returns a single document based on it's ID.
Returns
{
"timestamp": "2023-03-23T14:52:56.896Z",
"data": {
"_id": "641c64ef8fde9d1d8a0e1e39",
"name": "Area 1",
"_hash": "ee59d627c649ce1d1e7ad553dfc98235b06f27d9",
"_updatedAt": "2023-03-23T14:40:47.594Z",
"_createdAt": "2023-03-23T14:40:47.594Z",
"_changedBy": "627a5d6cea128a40043bf6aa"
}
}