GET/projects/api/v3/projects/teamwork/categories.json

Returns a list of teamwork project categories

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    CategoriesResponse contains information about a group of categories.
  • Code
    400
    Type
    object
    Schema
    Description
    400 Bad Request
    ErrorResponse defines how []Error should be marshaled to JSON.
  • Code
    403
    Type
    object
    Schema
    Description
    403 Forbidden
    ErrorResponse defines how []Error should be marshaled to JSON.

Examples

200 OK

CategoriesResponse
{
  "projectCategories": [
    {
      "color": "string",
      "count": 0,
      "id": 0,
      "name": "string",
      "parent": {
        "id": 0,
        "meta": {},
        "type": "string"
      },
      "parentId": 0
    }
  ],
  "projectCategoryTotals": {
    "categorizedItems": 0,
    "uncategorizedItems": 0
  }
}