Skip to main content

Get Layouts

info

All JSON array responses have been shortened for readability.

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

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

Returns
{
"timestamp": "2023-03-23T10:08:52.496Z",
"data": [
{
"_id": "641c1177ebc8b2f3c195b061",
"name": "Document.Area",
"html": "{/*\r\n Application: iWM 2.0 - Template\r\n Created: Wed Feb 22 2023 15:31:45 GMT+0000 (Greenwich Mean Time)\r\n*/}\r\n\r\n<Container>\r\n <Grid rows={1} columns={2}>\r\n <Card rowSpan={1} colSpan={1}>\r\n <TextBox property={properties.name} value={data.name} />\r\n <MemoBox property={properties.notes} value={data.notes} rows={6}/>\r\n </Card>\r\n </Grid>\r\n</Container>",
"createdAt": "2023-02-22T15:44:53.273Z",
"updatedAt": "2023-03-21T13:26:49.605Z",
"__v": 0
}
]
}