Library

LibraryInterface for Library returnable types.

Fields

id
Library Id.
Returns ID!
name
Library name.
Returns String!
color
Library color.
Returns RgbaColor
assetCountDeprecated
Amount of Assets contained in this Library.
Returns Int
metadataFieldsDeprecated
Retrieve list of all MetadataFields belonging to this Library.
Returns [MetadataField]
assets(limit: Int, page: Int, query: AssetQueryInput)
Search or list Assets in this Library.
Returns AssetItems!
collections(limit: Int, page: Int)
List Collection type items within a Library.
Returns CollectionItems!
browse
Browse the Library's SubFolderItems and AssetItems.
Returns LibraryRootFolder!
collaborators
Library collaborators.
Returns LibraryCollaborators
currentUserPermissions
Check current User permissions in a specific Library.
Returns LibraryUserPermissions!
workflowBeta
The Workflow belonging to the given Library.
Returns Workflow!
customMetadataProperties
List of CustomMetadataProperty items belonging to a Library.
Returns [CustomMetadataProperty!]!
searchAssets(input: AssetSearchInput!)
Search this Library's/Workspace's Assets with fully typed filters. Backed by our search index rather than the primary database — results are eventually consistent, so an asset just created, edited, or deleted can take a few minutes (up to around 10) to be reflected.
Returns LibrarySearchAssetsResult!
assetsByExternalId(externalId: ID!, limit: Int, cursor: String)
Fetch Assets in this Library by their externalId. Requires edit access to the Library.
Returns LibraryAssetsByExternalIdResult!
licenses
Retrieve list of all Licenses belonging to this Library.
Returns [License]