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!]!
- assetsByExternalId(externalId: ID!, limit: Int, cursor: String)
- Fetch
Assetsin thisLibraryby their externalId. Requires edit access to theLibrary. - Returns LibraryAssetsByExternalIdResult!
- searchPeople(input: LibrarySearchPeopleInput!)Beta
- The named people tagged or suggested on this
Library's assets, sorted by name. Requires face recognition on theLibrary. - 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 theLibrary's assets are left out. Requires face recognition on theLibrary. - Returns [Person!]!
- 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!