Skip to main content

Asset

Asset

type Asset implements Node {
id: ID!
metadata(schemaName: String!): AssetMetadataConnection
assetId: String!
assetRepositoryId: ID
assetFolderId: ID
createdDate: DateTime
status: AssetStatus
published: Boolean
filename: String
revisionNumber: Float
label: String
name: String
mimeType: String
locale: String
localeGroup: String
thumbFile: String
file: String
thumbUrl: String
tags: [String!]
type: AssetType
workflowAssignedBy: ID
workflowAssignedTo: ID
workflowAssignedAt: DateTime
workflowStatus: WorkflowStatus
contents: [ID!]
}

Fields
Link copied!

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

The ID of the object

Asset.metadata ● AssetMetadataConnection object
Link copied!

Returns asset metadata

Asset.metadata.schemaName ● String! non-null scalar
Link copied!

The schema name

Asset.assetId ● String! non-null scalar
Link copied!

The UUID of the asset

Asset.assetRepositoryId ● ID scalar
Link copied!

ID of the repository this asset belongs to

Asset.assetFolderId ● ID scalar
Link copied!

ID of the (sub) folder this asset belongs to

Asset.createdDate ● DateTime scalar
Link copied!

UTC date the asset was created

Asset.status ● AssetStatus enum
Link copied!

Active status

Asset.published ● Boolean scalar
Link copied!

Published status

Asset.filename ● String scalar
Link copied!

Filename which represents the asset on the storage system

Asset.revisionNumber ● Float scalar
Link copied!

Revision number

Asset.label ● String scalar
Link copied!

Friendly label for the asset, this is what a customer will see

Asset.name ● String scalar
Link copied!

Unique name for the asset, this is unique across the account which is flattened for the public URL

Asset.mimeType ● String scalar
Link copied!

Mimetype of the asset

Asset.locale ● String scalar
Link copied!

Locale (IETF language tag)

Asset.localeGroup ● String scalar
Link copied!

Name of the locale group the asset belongs to

Asset.thumbFile ● String scalar
Link copied!

Name of the file used for the thumbnail

Asset.file ● String scalar
Link copied!

Name of the file on the storage system

Asset.thumbUrl ● String scalar
Link copied!

Thumbnail URL

Asset.tags ● [String!] list scalar
Link copied!

Tags for the asset

Asset.type ● AssetType enum
Link copied!

Type of the asset

Asset.workflowAssignedBy ● ID scalar
Link copied!

ID of the user who assigned the workflow

Asset.workflowAssignedTo ● ID scalar
Link copied!

ID of who the workflow is assigned to

Asset.workflowAssignedAt ● DateTime scalar
Link copied!

Timestamp of when the workflow was assigned

Asset.workflowStatus ● WorkflowStatus enum
Link copied!

Workflow status

Asset.contents ● [ID!] list scalar
Link copied!

ID of the contents

Interfaces
Link copied!

Node interface
Link copied!

An object with an ID

Returned by
Link copied!

asset query

Member of
Link copied!

AssetsEdge object