Home > @uniformdev/canvas > CategoryClient > getCategories
CategoryClient.getCategories() method
Fetches all categories created in given project
Signature:
Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
options
</td><td>
Omit<CategoriesGetParameters, 'projectId'>
</td><td>
(Optional)
</td></tr> </tbody></table> Returns:
Promise<{ categories: { id: string; name: string; order?: number | undefined; }[]; }>