Folder Objects#
Storage directories or folders are represented as json documents with the following structure. Some properties have been omitted.
{
"cp_id" : "",
"parent_folder_cp_id" : "",
"name" : "",
"creation_timestamp" : 0,
"modify_timestamp" : 0,
"path_ids" : []
}
Properties
cp_id
The Id of the folder.
name
The name of the folder.
creation_timestamp
Unix timestamp in seconds for it’s creation.
modify_timestamp
Unix timestamp in seconds for it’s modification. Updated when it is moved or renamed.
parent_folder_cp_id
Id of the folder that contains this one, constitutes it’s hierarchy.
path_ids
All ids of the parents hiearchy up until the top-level folder. Not in order.
Examples#
Example of a folder document#
{
"cp_id" : "6960D3994737607552574B980961708E",
"parent_folder_cp_id" : "5E2725A1EC92FF76A16D1FFEDAA16CF3",
"name" : "weblink_test",
"creation_timestamp" : 1767953306,
"modify_timestamp" : 1767953306,
"children_cp_ids" : [
],
"path_ids" : [
"5E2725A1EC92FF76A16D1FFEDAA16CF3"
]
}