Back to TeamworkGet a health summary for all projects
Return the number of projects on each health category. It will only count the
projects that the logged-in user can access.
Input
type: object
properties:
parameters:
type: object
properties:
projectStatus:
type: string
enum:
- active
- current
- late
- upcoming
- completed
- deleted
description: filter by project status
onlyStarredProjects:
type: boolean
description: filter by starred projects only
matchAllProjectTags:
type: boolean
description: match all project tags
projectTagIds:
type: array
items:
type: integer
description: filter by project tag ids
projectStatuses:
type: array
items:
enum:
- active
- current
- late
- upcoming
- completed
- deleted
type: string
description: filter by project statuses
projectOwnerIds:
type: array
items:
type: integer
description: filter by project owner ids
projectIds:
type: array
items:
type: integer
description: filter by project ids
projectHealths:
type: array
items:
enum:
- '0'
- '1'
- '2'
- '3'
type: integer
description: |-
project health
0: not set
1: bad
2: ok
3: good
projectCompanyIds:
type: array
items:
type: integer
description: filter by company ids
projectCategoryIds:
type: array
items:
type: integer
description: filter by project category ids
title: Parameters
Output
type: object
title: ProjectMetricHealthsResponse
properties:
data:
type: array
items:
type: object
title: ProjectMetricHealth
properties:
name:
type: string
value:
type: integer