Skip to main content

CreateAssetInput

No description

input CreateAssetInput {
src: String
type: AssetType!
name: String!
filename: String!
assetRepositoryId: ID!
label: String
assetFolderId: ID
contents: [ID!]
localeGroup: String
locale: String
workflowAssignedTo: ID
workflowStatus: WorkflowStatus
tags: [String!]
thumbFile: String
}

Fields
Link copied!

CreateAssetInput.src ● String scalar
Link copied!

URL path to the input file, e.g. https://ampproduct.a.bigcontent.io/v1/static/Hero-Banner-720-model2

CreateAssetInput.type ● AssetType! non-null enum
Link copied!

Type of media to create

CreateAssetInput.name ● String! non-null scalar
Link copied!

Name of the asset. This should be a unique name across the account as it will be used when publishing

CreateAssetInput.filename ● String! non-null scalar
Link copied!

Original filename

CreateAssetInput.assetRepositoryId ● ID! non-null scalar
Link copied!

ID of the assetRepository to create this asset in

CreateAssetInput.label ● String scalar
Link copied!

Friendly label for the asset, this is what a customer will see. If not specified this will default to srcName

CreateAssetInput.assetFolderId ● ID scalar
Link copied!

ID of the folder this asset is contained within. Empty ID means it is created in the assetRepository root level

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

A list of assetIds included in a set

CreateAssetInput.localeGroup ● String scalar
Link copied!

Name of the localeGroup the asset belongs to. Defaults to asset name

CreateAssetInput.locale ● String scalar
Link copied!

UUID corresponding to the locale of the asset

CreateAssetInput.workflowAssignedTo ● ID scalar
Link copied!

ID of the assigned workflow user

CreateAssetInput.workflowStatus ● WorkflowStatus enum
Link copied!

Status of the workflow

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

A list of tags

CreateAssetInput.thumbFile ● String scalar
Link copied!

The UUID of an existing file to assign as a thumbnail

Member of
Link copied!

createAsset mutation