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

    addCreatorsToVettingList

    Add creators to a vetting list by list id or name, creating a list by name when none matches; an unknown creator id is reported at its index and the rest still apply.

    Arguments

    creatorIds [ID!]! required
    Creator ids to add, as returned by creators or creator. At least 1 and at most 40. An id that is not a creator of this workspace is reported at its index; the rest are added.
    vettingListId ID
    The list to add to, as returned by vettingLists. Pass this or vettingListName, not both.
    vettingListName String
    The list to add to, by exact name; a name that matches no list creates it. At most 255 characters. Pass this or vettingListId, not both.

    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.

    userErrors [UserError!]!
    Refusals. An unknown creator id is reported at ["creatorIds", "<index>"] and the rest still apply. These refuse the whole call: an unknown list, a bad list argument, an empty or oversized id list. So does a workspace with no user to attribute the write to. Empty on success. Contention with another write is a SERVICE_UNAVAILABLE error to retry, not a userError.
    vettingList VettingList
    The list after the write. Null when the whole call was refused.