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!
workflow
The Workflow belonging to the given Library.
Returns Workflow!
customMetadataProperties
List of CustomMetadataProperty items belonging to a Library.
Returns [CustomMetadataProperty!]!
assetsByExternalId(externalId: ID!, limit: Int, cursor: String)
Fetch Assets in this Library by their externalId. Requires edit access to the Library.
Returns LibraryAssetsByExternalIdResult!
searchPeople(input: LibrarySearchPeopleInput!)Beta
The named people tagged or suggested on this Library's assets, sorted by name. Requires face recognition on the Library.
Returns SearchPeopleResultType!
peopleByIds(ids: [ID!]!)Beta
The given named people of this Library, in the requested order, at most 100 ids. Ids that match no person, deleted and unnamed people, and people not tagged or suggested on the Library's assets are left out. Requires face recognition on the Library.
Returns [Person!]!
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!
licenses
Retrieve list of all Licenses belonging to this Library.
Returns [License]