Category model used to group machines in user's collection

Public fields

Field name Type Description
id numeric Category ID
uid numeric Category owner ID
name string Category label
parent_id numeric ID of parent category
is_visible boolean True if category is public, false when it's hidden
path string Path of current category from 0; path consists of slash-separated category IDs
exploded_path array IDs of categories on path to the root
path_names array Arrays representing categories from exploded_path with resolved names - each element has two fields: id and name