Label

  • color
    Type: string
    required

    Color of this label

  • name
    Type: string
    required

    Name of this label

  • created
    Type: string Format: date-time
    read-only

    Creation timestamp

  • createdUserId
    Type: integer
    read-only

    ID of user who created this record

  • editable
    Type: boolean
    read-only

    Determines if label can be edited by currently logged user

  • id
    Type: integer
    read-only

    Unique identifier - primary key

  • module
    Type: string

    Name of the module this label can be attached to. When set, the label can only be attached to records of this module. Leave empty to allow any module (subject to per-space restrictions in spaces).

  • spaces
    Type: object

    Spaces this label is assigned to, and the optional per-space module restriction. Keys are space IDs; each value is an array of module names (in dash syntax) the label may be attached to within that space, or an empty array / null to allow all modules in that space. An empty spaces object makes the label global - visible to every space and every user.

    • propertyName
      Type: array string[] | null
  • type
    Type: string

    Scope of this label. SHARED labels are visible to all users with access to the assigned spaces; a SHARED label with no spaces is global and visible to everyone.

  • updated
    Type: string Format: date-time
    read-only

    Last updated timestamp

  • updatedUserId
    Type: integer
    read-only

    ID of user who last updated this record