Back to TeamworkGet a specific project category
Input
type: object
properties:
parameters:
type: object
properties:
categoryId:
type: integer
onlyStarredProjects:
type: boolean
description: |-
filter by starred projects only.
note: if an owner company admin, counts will honour this filter,
but all categories will be returned regardless.
projectStatuses:
type: array
items:
type: string
description: |-
filter by project statuses.
note: if an owner company admin, counts will honour this filter,
but all categories will be returned regardless.
ids:
type: array
items:
type: integer
description: filter by specific ids
fields[projectcategories]:
type: array
items:
enum:
- id
- name
- color
- count
- parent
- parentId
type: string
required:
- categoryId
title: Parameters
Output
type: object
title: CategoriesResponse
properties:
projectCategories:
type: array
items:
type: object
title: ProjectCategory
properties:
color:
type: string
count:
type: integer
id:
type: integer
name:
type: string
parent:
type: object
title: Relationship
properties:
id:
type: integer
meta:
type: object
type:
type: string
parentId:
type: integer
projectCategoryTotals:
type: object
title: CategoryTotals
properties:
categorizedItems:
type: integer
uncategorizedItems:
type: integer