Collections
Named groupings of assets inside a library — create, update, and manage membership.
addCollectionAssets
Add Assets to the existing Collection. Requires basic:write scope to be accessible and Collection permission level EDIT.
Returns
Arguments
- input:AddCollectionAssetsInput!Required
AddCollectionAssetsinput argument.- Required
collectionId: ID!,assetIds: [ID!]!
Response fields
0 selected
Toggle fields to tailor the query and response.
- Collection
- String!
- ID!
- AssetItems!
- Int!
- Int!
- Int!
- Boolean!
- [Asset]
- ID!
- CollectionUserPermissions!
- Boolean!
- Boolean!
createCollection
Create a new Collection. Currently supported for Library type parent entities only. Requires basic:write scope to be accessible and Collection permission level EDIT.
Returns
Arguments
- input:CreateCollectionInput!Required
CreateCollectioninput argument.- Required
parentId: ID!,name: String!
Response fields
0 selected
Toggle fields to tailor the query and response.
- Collection!
- String!
- ID!
- AssetItems!
- Int!
- Int!
- Int!
- Boolean!
- [Asset]
- ID!
- CollectionUserPermissions!
- Boolean!
- Boolean!
deleteCollection
Delete an existing Collection. Requires basic:write scope to be accessible and Collection permission level EDIT.
Returns
Arguments
Response fields
1 selected
Toggle fields to tailor the query and response.
- ID!
removeCollectionAssets
Remove Assets from the existing Collection. Requires basic:write scope to be accessible and Collection permission level EDIT.
Returns
Arguments
- input:RemoveCollectionAssetsInput!Required
RemoveCollectionAssetsinput argument.- Required
collectionId: ID!,assetIds: [ID!]!
Response fields
0 selected
Toggle fields to tailor the query and response.
- Collection
- String!
- ID!
- AssetItems!
- Int!
- Int!
- Int!
- Boolean!
- [Asset]
- ID!
- CollectionUserPermissions!
- Boolean!
- Boolean!
setCollectionAssets
Replace the existing set of the Assets in the Collection with the new set of the Assets. Requires basic:write scope to be accessible and Project permission level EDIT.
Returns
Arguments
- input:SetCollectionAssetsInput!Required
SetCollectionAssetsinput argument.- Required
collectionId: ID!,assetIds: [ID!]!
Response fields
0 selected
Toggle fields to tailor the query and response.
- Collection
- String!
- ID!
- AssetItems!
- Int!
- Int!
- Int!
- Boolean!
- [Asset]
- ID!
- CollectionUserPermissions!
- Boolean!
- Boolean!
updateCollection
Update an existing Collection. Requires basic:write scope to be accessible and Collection permission level EDIT.
Returns
Arguments
- input:UpdateCollectionInput!Required
UpdateCollectioninput argument.- Required
collectionId: ID!,data: UpdateCollectionDataInput!
Response fields
0 selected
Toggle fields to tailor the query and response.
- Collection!
- String!
- ID!
- AssetItems!
- Int!
- Int!
- Int!
- Boolean!
- [Asset]
- ID!
- CollectionUserPermissions!
- Boolean!
- Boolean!