Archive API docs
    Jump to

    Narrow by kind with a prefix — q: queries, m: mutations, t: types, g: guides, f: fields and arguments.

    Jump to examples ↓
    Mutation

    createLabels

    Create labels in the workspace creator label taxonomy; a name already present (ignoring case and surrounding whitespace) is returned unchanged.

    Arguments

    labelNames [String!]! required
    Label names to create. At least 1 and at most 50, each at most 100 characters. Matching ignores case and surrounding whitespace, so a name that already exists is returned with its stored spelling and nothing is created.

    Returns

    Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.

    labels [Label!]!
    The stored spelling of every submitted name, in submission order. Names that differ only by case or surrounding whitespace collapse to one entry. Empty when userErrors is non-empty.
    userErrors [UserError!]!
    Errors that refused the whole request: an empty or oversized list, a blank or over-long name, or a label being deleted. Empty on success.