Domains / Libraries / Types / MediaLibrary
MediaLibrary
Implements Node, Library
Fields
- id
Library/Workspace Id.
- Returns ID!
- name
Library/Workspace name.
- Returns String!
- color
Library/Workspace color.
- Returns RgbaColor
- assetCountDeprecated
- Amount of
Assets contained in the Library/Workspace.
- Returns Int
- metadataFieldsDeprecated
Library/Workspace MetadataField items list.
- Returns [MetadataField]
- workflow
- The
Workflow belonging to the given Library/Workspace.
- Returns Workflow!
- customMetadataProperties
- Retrieve list of all
CustomMetadataProperty items belonging to Library.
- Returns [CustomMetadataProperty!]!
- collections(limit: Int, page: Int)
Library Collection items list.
- Returns CollectionItems!
- 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!]!
- assetsByExternalId(externalId: ID!, limit: Int, cursor: String)
- Fetch
Assets in this Library by their externalId. Requires edit access to the Library.
- Returns LibraryAssetsByExternalIdResult!
- 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
Library/Workspace License items list.
- Returns [License]