Skip to main content

Get References

info

All JSON array responses have been shortened for readability.

GET/<ApplicationID/collections/<CollectionID>/documents/<DocumentID>/references
Endpoint Requires Authentication
Example
https://api.weightron.cloud/641c1177ebc8b2f3c195b02c/collections/641c1177ebc8b2f3c195b033/documents/641c64ef8fde9d1d8a0e1e39/references
Description

Returns an array of objects for each foreign key that targets the given collection. Contains the name & ID of the key & collection, and a count of the documents which directly reference the given one.

Returns
{
"timestamp": "2023-03-23T14:53:38.165Z",
"data": [
{
"key": "641c1177ebc8b2f3c195b053",
"keyName": "Area",
"collection": "641c1177ebc8b2f3c195b037",
"collectionName": "Location",
"count": 1
}
]
}