Function: getStatusCategory()
ts
function getStatusCategory(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
colorName?: string;
id?: number;
key?: string;
name?: string;
self?: string;
}>;Defined in: src/server/api/workflowStatusCategories.ts:28
Returns a full representation of the StatusCategory having the given id or key
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { idOrKey: string; } | - |
parameters.idOrKey | string | A numeric StatusCategory id or a status category key |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; colorName?: string; id?: number; key?: string; name?: string; self?: string; }>