Logo of FrontifyDeveloper PortalArrow to the right
GraphQL Reference
Object Type

DocumentLibrary

No description
Implemented Interfaces

An Interface is an abstract type that includes a certain set of fields that a type must include to implement the interface.

NodeInterface is the base for all types.

LibraryInterface for Library returnable types.

Type Fields
id:ID!

Library/Workspace Id.

name:String!

Library/Workspace name.

color:RgbaColor

Library/Workspace color.

assetCount:Int
Deprecated

DEPRECATED Amount of Assets contained in the Library/Workspace. This field will be removed. Use assets.total instead. | Date: 2024-07-01T00:00:00.000+00:00

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

Search or list Assets in the Library/Workspace.

licenses:[License]

Library/Workspace License items list.

metadataFields:[MetadataField]
Deprecated

DEPRECATED Library/Workspace MetadataField items list. This field will be removed. Use customMetadataProperties instead. | Date: 2025-01-01T00:00:00.000+00:00

workflow:Workflow!
Beta

BETA The Workflow belonging to the given Library/Workspace.

Browse the Library SubFolderItems and AssetItems.

collaborators:LibraryCollaborators

Library collaborators.

currentUserPermissions:LibraryUserPermissions!

Library permissions of the current User.

customMetadataProperties:[CustomMetadataProperty!]!

Retrieve list of all CustomMetadataProperty items belonging to Library.

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

Library Collection items list.