Skip to main content

Get Keys

info

All JSON array responses have been shortened for readability.

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

Returns an array of objects containing keys linked to the given collection.

Returns
{
"timestamp": "2023-03-23T10:10:39.576Z",
"data": [
{
"_id": "641c259cebc8b2f3c195b0d3",
"name": "name_unique",
"localCollection": "641c1177ebc8b2f3c195b033",
"localProperties": {
"name": 1
},
"unique": true,
"foreignProperties": [],
"createdAt": "2023-03-23T10:10:36.581Z",
"updatedAt": "2023-03-23T10:10:36.581Z",
"__v": 0
}
]
}