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 idscollectionsreturns 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
groupfield. Null when the Collection was not found or the move failed. - createdAt DateTimeWithZone!
- When the Collection was created.
- group ViewGroup
- Group this Collection belongs to, or null when ungrouped. Populated by
moveCollectionToGroup. Always null for workspaces whose Collections use the older storage. - collections [Collection!]! ↻ circular view Collection →
- Collections that belong to this group, ordered by their position within the group.
- contentViews [ContentView!]!
- Content Views that belong to this group, ordered by their position within the group.
- createdAt DateTimeWithZone!
- When the view was created.
- customAttributeConditions JSON!
- Custom-attribute conditions narrowing the filter set.
- filters JSON!
- Opaque filter blob defining which items belong to the view.
- group ViewGroup ↻ circular view ViewGroup →
- Group this view belongs to, or null when the view is ungrouped. Populated by
moveContentViewToGroup. - id ID!
- Unique identifier (FilterPreset UUID). Use this with
items(presetId:). - name String!
- Display name of the view.
- showReportingStats Boolean!
- Whether reporting stats are surfaced in the UI for this view.
- sort JSON!
- Sort directives applied when listing items via this view.
- updatedAt DateTimeWithZone!
- When the view was last updated.
- createdAt DateTimeWithZone!
- When the group was created.
- creatorViews [CreatorView!]!
- Creator Views that belong to this group, ordered by their position within the group.
- createdAt DateTimeWithZone!
- When the view was created.
- customAttributeConditions JSON!
- Custom-attribute conditions narrowing the filter set.
- filters JSON!
- Opaque filter blob, stored and echoed back but not applied when reading the view: creators(presetId:) narrows only by this view's customAttributeConditions and sort. Use customAttributeConditions to filter which creators the view returns.
- group ViewGroup ↻ circular view ViewGroup →
- Group this view belongs to, or null when the view is ungrouped. Populated by
moveCreatorViewToGroup. - id ID!
- Unique identifier of this saved view. Use the returned id with
creators(presetId:)to fetch the view's creators. - name String!
- Display name of the view.
- showReportingStats Boolean!
- Whether reporting stats are surfaced in the UI for this view.
- sort JSON!
- Sort directives applied when listing creators via this view.
- updatedAt DateTimeWithZone!
- When the view was last updated.
- id ID!
- Unique identifier.
- name String!
- Display name of the group.
- socialProfileViews [SocialProfileView!]!
- Social Profile Views that belong to this group, ordered by their position within the group.
- createdAt DateTimeWithZone!
- When the view was created.
- customAttributeConditions JSON!
- Custom-attribute conditions narrowing the filter set.
- filters JSON!
- Opaque filter blob, stored and echoed back but not applied when reading the view: socialProfiles(presetId:) narrows only by this view's customAttributeConditions and sort. Use customAttributeConditions to filter which social profiles the view returns.
- group ViewGroup ↻ circular view ViewGroup →
- Group this view belongs to, or null when the view is ungrouped. Populated by
moveSocialProfileViewToGroup. - id ID!
- Unique identifier of this saved view. Use the returned id with
socialProfiles(presetId:)to fetch the view's social profiles. - name String!
- Display name of the view.
- showReportingStats Boolean!
- Whether reporting stats are surfaced in the UI for this view.
- sort JSON!
- Sort directives applied when listing social profiles via this view.
- updatedAt DateTimeWithZone!
- When the view was last updated.
- updatedAt DateTimeWithZone!
- When the group was last updated.
- id ID!
- Unique identifier of the Collection in this workspace. Pass it to
addItemToCollections/removeItemFromCollectionsand tocollection(id:). - itemCount Int!
- Number of items in this workspace tagged with the Collection.
- name String!
- Display name of the Collection.
- updatedAt DateTimeWithZone!
- When the Collection was last updated.
- userErrors [UserError!]!
- List of user-facing errors. Empty on success.
- field [String!]
- Path to the input field that caused the error.
- message String!
- The error message.