Library
LibraryInterface for Library returnable types.
Fields
- id
LibraryId.- Returns ID!
- name
Libraryname.- Returns String!
- assetCountDeprecated
- Amount of
Assetscontained in thisLibrary. - Returns Int
- metadataFieldsDeprecated
- Retrieve list of all
MetadataFieldsbelonging to thisLibrary. - Returns [MetadataField]
- assets(limit: Int, page: Int, query: AssetQueryInput)
- Search or list
Assetsin thisLibrary. - Returns AssetItems!
- collections(limit: Int, page: Int)
- List
Collectiontype items within aLibrary. - Returns CollectionItems!
- currentUserPermissions
- Check current
Userpermissions in a specificLibrary. - Returns LibraryUserPermissions!
- customMetadataProperties
- List of
CustomMetadataPropertyitems belonging to aLibrary. - Returns [CustomMetadataProperty!]!
- searchAssets(input: AssetSearchInput!)
- Search this
Library's/Workspace'sAssetswith 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
Assetsin thisLibraryby their externalId. Requires edit access to theLibrary. - Returns LibraryAssetsByExternalIdResult!