Interface PatchedLabelRequest

PatchedLabelRequest

interface PatchedLabelRequest {
    attributes?: AttributeRequest[];
    color?: string;
    deleted?: boolean;
    id?: number;
    name?: string;
    sublabels?: SublabelRequest[];
    svg?: string;
    type?: LabelType;
}

Properties

attributes?: AttributeRequest[]

The list of attributes. If you want to remove an attribute, you need to recreate the label and specify the remaining attributes.

PatchedLabelRequest

color?: string

The hex value for the RGB color. Will be generated automatically, unless specified explicitly.

PatchedLabelRequest

deleted?: boolean

Delete the label. Only applicable in the PATCH methods of a project or a task.

PatchedLabelRequest

id?: number

PatchedLabelRequest

name?: string

PatchedLabelRequest

sublabels?: SublabelRequest[]

PatchedLabelRequest

svg?: string

PatchedLabelRequest

type?: LabelType

Associated annotation type for this label * any - ANY * cuboid - CUBOID * ellipse - ELLIPSE * mask - MASK * points - POINTS * polygon - POLYGON * polyline - POLYLINE * rectangle - RECTANGLE * skeleton - SKELETON * tag - TAG

PatchedLabelRequest