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

    moveCollectionToGroup

    Move a Collection into a view group, or out (when groupId is null).

    Arguments

    collectionId ID! required
    UUID of the Collection to move (as returned by collections). Collection management is available only in workspaces whose Collections use the standard storage; where they use an older format the ids collections returns are not accepted here and the call returns a userError without changing anything.
    groupId ID
    Target ViewGroup UUID. Pass null to remove the Collection from any group it currently belongs to.

    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.

    collection Collection
    The moved Collection, with the populated group field. Null when the Collection was not found or the move failed.
    userErrors [UserError!]!
    List of user-facing errors. Empty on success.