Working with a folder structure

Clearance Developer Guide

Content type
Guides > Developer guides
Product line
Clearance
Language
English
Applies to
Genetec Clearance

Folder structure is a hierarchical organizational tool that helps users store, manage, and find their case data in Genetec Clearance™. A folder structure can be created within a case using the EHS swagger.


image

The folder structure of a case is built in the EHS swagger. A new folder can be created easily with a REST call documented in the Swagger UI.

For more advanced manipulation of the structure, you must first retrieve the content, update it, and send the new version. The typical model of a folder is similar to the following:

... 
"2f6c1c07-1740-4ca5-b338-5b03037d54fe": {
      "lifecycleState": null,
      "mimeType": null,
      "name": "Videos",
      "nodeAuthor": null,
      "nodeId": "2f6c1c07-1740-4ca5-b338-5b03037d54fe",
      "nodeType": "Folder",
      "nodeValidationStatus": "Validated",
      "parentNodeId": "0",
      "sourceId": null,
      "startTimeUtc": null,
      "uploadedBy": null,
      "uploadedTimeUtc": null,
      "correlationType": null
}
...