curl --request GET \
--url https://api.projectcor.com/v1/categories/labels-model \
--header 'Authorization: Bearer <token>'[
{
"id": 101,
"name": "Development Team",
"labels": [
{
"id": 3001,
"hex": "#FF5733",
"hsl": null,
"rgb": null,
"lang": "en",
"name": "Backend",
"color_id": 10
},
{
"id": 3002,
"hex": "#33FF57",
"hsl": null,
"rgb": null,
"lang": "en",
"name": "Frontend",
"color_id": 11
},
{
"id": 3003,
"hex": "#3357FF",
"hsl": null,
"rgb": null,
"lang": "en",
"name": "QA",
"color_id": 12
},
{
"id": 3004,
"hex": "#FF33A1",
"hsl": null,
"rgb": null,
"lang": "en",
"name": "DevOps",
"color_id": 13
}
]
},
{
"id": 102,
"name": "Sales Team",
"labels": [
{
"id": 4001,
"hex": "#FFC300",
"hsl": null,
"rgb": null,
"lang": "en",
"name": "Lead Generation",
"color_id": 14
},
{
"id": 4002,
"hex": "#FF5733",
"hsl": null,
"rgb": null,
"lang": "en",
"name": "Account Management",
"color_id": 15
}
]
}
]Retrieve all categories along with their associated labels. These entities allow a user to be assigned to an operation or practice area.
curl --request GET \
--url https://api.projectcor.com/v1/categories/labels-model \
--header 'Authorization: Bearer <token>'[
{
"id": 101,
"name": "Development Team",
"labels": [
{
"id": 3001,
"hex": "#FF5733",
"hsl": null,
"rgb": null,
"lang": "en",
"name": "Backend",
"color_id": 10
},
{
"id": 3002,
"hex": "#33FF57",
"hsl": null,
"rgb": null,
"lang": "en",
"name": "Frontend",
"color_id": 11
},
{
"id": 3003,
"hex": "#3357FF",
"hsl": null,
"rgb": null,
"lang": "en",
"name": "QA",
"color_id": 12
},
{
"id": 3004,
"hex": "#FF33A1",
"hsl": null,
"rgb": null,
"lang": "en",
"name": "DevOps",
"color_id": 13
}
]
},
{
"id": 102,
"name": "Sales Team",
"labels": [
{
"id": 4001,
"hex": "#FFC300",
"hsl": null,
"rgb": null,
"lang": "en",
"name": "Lead Generation",
"color_id": 14
},
{
"id": 4002,
"hex": "#FF5733",
"hsl": null,
"rgb": null,
"lang": "en",
"name": "Account Management",
"color_id": 15
}
]
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Model type to retrieve labels for
user