A workspace is the entity that groups devices and their produced data. You can imagine the workspace as the main folder of your project.
Create a new workspace with a
zdm workspace create [OPTIONS] NAME
--description TEXT: Short description of the workspace
Get a single workspace by
zdm workspace get ID
List all the workspace.
zdm workspace all
Manage the data of a workspace.
List the data published on a workspace with
ID on a given
zdm workspace data all [OPTIONS] ID TAG
--device-id IDfilter data by device id
--start DATEstart date filter (RFC3339)
--end DATEend date filter (RFC3339
List the data tags of a workspace with
zdm workspace data tags ID
Export the data of a workspace. An export create a link where the data can be downloaded.
Create an export with
NAME for downloading the data. The export is of a given
TYPE on a
WORKSPACE_ID between a
STARTdate (RFC339 format) and
END date (RFC339 format).
zdm workspace data export create [OPTIONS] NAME TYPE WORKSPACE_ID START END
--tag TEXTfilter data by a tag
--fleet TEXTfilter data by a fleet id
Get the information of an export given the
bash zdm workspace data export get EXPORT_ID
Retrieve the conditions of a workspace associated to a tag.
List all the conditions of a workspace
ID on a given condition
zdm workspace condition [OPTIONS] all ID TAG
--device-id IDfilter conditions by device id
--threshold TEXTfilter conditions that are opened (or closed) greater than threshold secs (Default
--status [open|closed]filter conditions by its status (Default