Skip to main content

Objects: Assets

GraphQL object types for assets, folders, repositories, video transcoding, and AI image tools in the Amplience GraphQL Management API.

Assets, folders & repositories
Link copied!

Asset
Link copied!

Asset

Implements: Node

FieldTypeDescription
idID!The ID of the object
metadataAssetMetadataConnection!Returns asset metadata
Args: schemaName: String!
assetIdString!The UUID of the asset
assetRepositoryIdIDID of the repository this asset belongs to
assetFolderIdIDID of the (sub) folder this asset belongs to
createdDateDateTimeUTC date the asset was created
statusAssetStatusActive status
publishedBooleanPublished status
filenameStringFilename which represents the asset on the storage system
revisionNumberFloatRevision number
labelStringFriendly label for the asset, this is what a customer will see
nameStringUnique name for the asset, this is unique across the account which is flattened for the public URL
mimeTypeStringMimetype of the asset
localeStringLocale (IETF language tag)
localeGroupStringName of the locale group the asset belongs to
thumbFileStringName of the file used for the thumbnail
fileStringName of the file on the storage system
thumbUrlStringThumbnail URL
tags[String!]Tags for the asset
typeAssetTypeType of the asset
workflowAssignedByIDID of the user who assigned the workflow
workflowAssignedToIDID of who the workflow is assigned to
workflowAssignedAtDateTimeTimestamp of when the workflow was assigned
workflowStatusWorkflowStatusWorkflow status
contents[ID!]ID of the contents

AssetFolder
Link copied!

Asset Folder

Implements: Node

FieldTypeDescription
idID!The ID of the object
labelString!Friendly label for the folder
statusString!Indicates whether the folder is active or inactive
children[AssetFolder!]!List of sub-folders
assetsAssetSearchConnection!Returns assets within the folder
Args: before: String, after: String, first: Int, last: Int

AssetMetadata
Link copied!

Asset Metadata

FieldTypeDescription
idID!
schemaNameString!The metadata schema name
propertiesJSON!Properties as a key/value pair

AssetRepository
Link copied!

Asset Repository

Implements: Node

FieldTypeDescription
idID!The ID of the object
assetFoldersAssetFolderConnectionReturns asset folders
Args: before: String, after: String, first: Int, last: Int
imageClassificationEnabledBooleanWhether AI image classification is enabled
labelStringLabel for the repository
isDefaultBooleanWhether the repository is the default for asset uploads
assetsAssetSearchConnection!Returns assets within the asset repository
Args: before: String, after: String, first: Int, last: Int

AssetSearchResult
Link copied!

Asset

FieldTypeDescription
idID!
metadataAssetMetadataConnection!Returns asset metadata
Args: schemaName: String!
assetIdString!
assetRepositoryIdIDID of the repository this asset belongs to
nameStringUnique name for the asset, this is unique across the account which is flattened for the public URL
publishedBooleanPublished status
labelStringFriendly label for the asset
filenameStringFilename which represents the asset on the storage system
fileStringName of the file on the storage system
tags[String!]Tags that have been assigned to the asset
statusAssetStatusActive status
mimeTypeStringMimetype of the asset
createdDateDateTimeCreation date (ISO 8601)
updatedDateDateTimeLast update date (ISO 8601)
lastPublishDateDateTimeLast publish date (ISO 8601)
lastPublishStatusStringLast publish status
lastSuccessfulPublishDateDateTimeLast successful publish date (ISO 8601)
lastSuccessfulPublishStatusStringLast successful publish status
assetFolderIdIDID of the (sub) folder this asset belongs to
localeStringLocale (IETF language tag)
localeGroupStringName of the locale group the asset belongs to
thumbFileStringName of the file used for the thumbnail
thumbUrlStringThumbnail URL
typeAssetTypeType of asset
subTypeStringSub type of asset
workflowAssignedByIDID of the user who assigned the workflow
workflowAssignedToIDID of who the workflow is assigned to
workflowAssignedAtDateTimeTimestamp of when the workflow was assigned
workflowStatusWorkflowStatusWorkflow status
contents[ID!]ID of the contents
revisionNumberFloatRevision number

Asset operation responses
Link copied!

AssetUpdatedResponse
Link copied!

Implements: Node

FieldTypeDescription
idID!The ID of the object
transcodingJobIdString

CreateFolderResponse
Link copied!

Implements: Node

FieldTypeDescription
idID!The ID of the object

UpdateAssetMetadataResponse
Link copied!

Implements: Node

FieldTypeDescription
idID!The ID of the object

PublishAssetResponse
Link copied!

FieldTypeDescription
publishJobIdString!

UnpublishAssetResponse
Link copied!

FieldTypeDescription
unpublishJobIdString!

AI image tools
Link copied!

DetectedPointOfInterestInImage
Link copied!

FieldTypeDescription
idString!
labelString!
centerPointOfInterestCoordinate!
boundsPointOfInterestBounds
outline[PointOfInterestCoordinate!]

DetectedPointsOfInterestInImage
Link copied!

FieldTypeDescription
objects[DetectedPointOfInterestInImage!]

PointOfInterestBounds
Link copied!

FieldTypeDescription
topLeftPointOfInterestCoordinate!
widthFloat!
heightFloat!

PointOfInterestCoordinate
Link copied!

FieldTypeDescription
xFloat!
yFloat!

MagicEraseImageJob
Link copied!

Implements: Node

FieldTypeDescription
idID!
magicEraseStatusMagicEraseImageJobStatus!
imageUrlString

RemoveBackgroundFromImageResponse
Link copied!

FieldTypeDescription
imageUrlString!

GenerateImagesFromTextResponse
Link copied!

FieldTypeDescription
imageUrlString!

GeneratedCaptionForImage
Link copied!

FieldTypeDescription
captionString!

Video transcoding
Link copied!

VideoTranscodingProfile
Link copied!

Video Transcoding Profile

Implements: Node

FieldTypeDescription
idID!The ID of the object
containerString
videoBitRateFloat
videoSizeWidthString
audioNumberOfChannelsString
audioCopyBoolean
captionsEnabledBoolean
descriptionString
videoAspectModeString
audioEnabledBoolean
videoEnabledBoolean
videoSizeHeightString
qualityLabelString
defaultBoolean
audioBitRateString
videoCodecString
videoInterlaceString
videoOnePassBoolean
createdDateDateTime!
videoSpeedFloat
labelString
audioCodecString
videoKeyFrameIntervalString
captionsLanguageString
nameString
videoKeyFrameRateString
videoCopyBoolean
updatedDateDateTime!
statusFloat
videoFramerateString
audioNormaliseBoolean

VideoTranscodingJobResponse
Link copied!

FieldTypeDescription
transcodingJobIdString!