Logo of FrontifyDeveloper PortalArrow to the right
GraphQL Reference
Interface

Library

LibraryInterface for Library returnable types.

Implemented by

An Interface is an abstract type that includes a certain set of fields that a type must include to implement the interface.Following types all implement this interface and must have all fields of this interface present.The __typename field resolves to a String which lets you differentiate different data types from each other on the client.

Type Fields
id:ID!

Library Id.

name:String!

Library name.

color:RgbaColor

Library color.

assetCount:Int
Deprecated, Removal: 2024-07-01

Amount of Assets contained in this Library. This field will be removed. Use assets.total instead.

metadataFields:[MetadataField]
Deprecated, Removal: 2025-01-01

Retrieve list of all MetadataFields belonging to this Library. This field will be removed. Use customMetadataProperties instead.

assets(
limit: Int = 25
page: Int = 1

Search or list Assets in this Library.

licenses:[License]

Retrieve list of all Licenses belonging to this Library.

collections(
limit: Int = 25
page: Int = 1

List Collection type items within a Library.

Browse the Library's SubFolderItems and AssetItems.

collaborators:LibraryCollaborators

Library collaborators.

currentUserPermissions:LibraryUserPermissions!

Check current User permissions in a specific Library.

workflow:Workflow!
Beta

BETA The Workflow belonging to the given Library.

customMetadataProperties:[CustomMetadataProperty!]!

List of CustomMetadataProperty items belonging to a Library.