Skip to main content

AssetRepository

Asset Repository

type AssetRepository implements Node {
id: ID!
assetFolders(
before: String
after: String
first: Int
last: Int
): AssetFolderConnection
imageClassificationEnabled: Boolean
label: String
isDefault: Boolean
assets(
before: String
after: String
first: Int
last: Int
): AssetsConnection!
}

Fields
Link copied!

AssetRepository.id ● ID! non-null scalar
Link copied!

The ID of the object

AssetRepository.assetFolders ● AssetFolderConnection object
Link copied!

Returns asset folders

AssetRepository.assetFolders.before ● String scalar
Link copied!

Cursor to start from when paginating backwards

AssetRepository.assetFolders.after ● String scalar
Link copied!

Cursor to start from when paginating forwards

AssetRepository.assetFolders.first ● Int scalar
Link copied!

Specifies the number of results to return. Required when after cursor is used. Cannot be used with before cursor.

AssetRepository.assetFolders.last ● Int scalar
Link copied!

Specifies the number of results to return when paginating backwards. Must be used with before cursor.

AssetRepository.imageClassificationEnabled ● Boolean scalar
Link copied!

Whether AI image classification is enabled

AssetRepository.label ● String scalar
Link copied!

Label for the repository

AssetRepository.isDefault ● Boolean scalar
Link copied!

Whether the repository is the default for asset uploads

AssetRepository.assets ● AssetsConnection! non-null object
Link copied!

Returns assets within the asset repository

AssetRepository.assets.before ● String scalar
Link copied!

Cursor to start from when paginating backwards

AssetRepository.assets.after ● String scalar
Link copied!

Cursor to start from when paginating forwards

AssetRepository.assets.first ● Int scalar
Link copied!

Specifies the number of results to return. Required when after cursor is used. Cannot be used with before cursor.

AssetRepository.assets.last ● Int scalar
Link copied!

Specifies the number of results to return when paginating backwards. Must be used with before cursor.

Interfaces
Link copied!

Node interface
Link copied!

An object with an ID

Returned by
Link copied!

assetRepository query ● createAssetRepository mutation

Member of
Link copied!

AssetRepositoryEdge object