Named groupings of assets inside a library — create, update, and manage membership.

Mutation

addCollectionAssets

Add Assets to the existing Collection. Requires basic:write scope to be accessible and Collection permission level EDIT.

Returns

AddCollectionAssets

Arguments

input:AddCollectionAssetsInput!Required
AddCollectionAssets input argument.
RequiredcollectionId: ID!, assetIds: [ID!]!

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

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

CreateCollection

Arguments

input:CreateCollectionInput!Required
CreateCollection input argument.
RequiredparentId: ID!, name: String!

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

deleteCollection

Delete an existing Collection. Requires basic:write scope to be accessible and Collection permission level EDIT.

Returns

DeleteCollection

Arguments

input:DeleteCollectionInput!Required
DeleteCollection input argument.
RequiredcollectionId: ID!

Response fields

1 selected

Toggle fields to tailor the query and response.

  • ID!
Mutation

removeCollectionAssets

Remove Assets from the existing Collection. Requires basic:write scope to be accessible and Collection permission level EDIT.

Returns

RemoveCollectionAssets

Arguments

input:RemoveCollectionAssetsInput!Required
RemoveCollectionAssets input argument.
RequiredcollectionId: ID!, assetIds: [ID!]!

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

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

SetCollectionAssets

Arguments

input:SetCollectionAssetsInput!Required
SetCollectionAssets input argument.
RequiredcollectionId: ID!, assetIds: [ID!]!

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

updateCollection

Update an existing Collection. Requires basic:write scope to be accessible and Collection permission level EDIT.

Returns

UpdateCollection

Arguments

input:UpdateCollectionInput!Required
UpdateCollection input argument.
RequiredcollectionId: ID!, data: UpdateCollectionDataInput!

Response fields

0 selected

Toggle fields to tailor the query and response.