Home > @uniformdev/canvas > LabelClient > getLabels
LabelClient.getLabels() method
Fetches labels for the current project.
Signature:
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
options |
Omit<LabelsQuery, 'projectId'> |
(Optional) |
Returns:
Promise<{ labels: { projectId: string; label: { publicId: string; displayName: string; isGroup: boolean; parent?: string; color: string; description?: string; scope: string[]; }; created: string; modified: string; createdBy?: string; modifiedBy?: string; }[]; totalCount: number; }>