Package com.mayam.wf.ws.client
Class AssetApi
java.lang.Object
com.mayam.wf.ws.client.AssetApi
Gives access to assets using the API. Please see examples under
TasksClient
.
This class is accessed using TasksClient.assetApi()
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateAsset
(AttributeMap asset) Creates a new asset.deleteAsset
(AssetType assetType, String assetId) Deletes an asset by its type and identifier.deleteAsset
(AssetType assetType, String assetId, int gracePeriod) Deletes an asset by its type and identifier.void
deleteAssetMedia
(AssetType assetType, String assetId) Deletes the media from given asset.Retrieves an asset by its type and identifier.getAssetBySiteId
(AssetType assetType, String siteId) Retrieves an asset by its type and site identifier.getAssetChildren
(AssetType assetType, String assetId, AssetType... childTypes) Retrieves child assets by the type and identifier of a given parent asset; results are limited to a set of child asset types.getFormatInfo
(AssetType assetType, String assetId) Gets file format information about a given asset.getMarkers
(AssetType assetType, String assetId, String revisionId) Gets a list of markers for given asset revision.getQcMessages
(AssetType assetType, String assetId) Fetches a list of qc messagesgetTechReport
(AssetType assetType, String assetId) Fetches a technical report with QC events for an asset.getUnmanagedMetadata
(AssetType assetType, String assetId) Retrieve metadata directly from the MAM.importFile
(AssetType assetType, String assetId, ImportRequestBuilder requestBuilder) Imports a file on a specified storage/service with a specified file path.void
moveMediaEssence
(AssetType srcType, String srcId, AssetType destType, String destId) Moves media essence from the source asset to the destination assetrequestConform
(AssetType assetType, String assetId, ConformRequestBuilder request) Requests a conform using a MAM specific subset of available request details.requestTranscode
(AssetType assetType, String assetId, TranscodeRequestBuilder request) Requests transcode of asset video.requestTransfer
(AssetType assetType, String assetId, TransferRequestBuilder request) Requests a transfer of asset file(s) using a MAM specific subset of available request details.updateAsset
(AttributeMap asset) Updates an asset.updateUnmanagedMetadata
(AssetType assetType, String assetId, UnmanagedMetadata metadata) Sets metadata directly in the MAM.
-
Constructor Details
-
AssetApi
public AssetApi(com.mayam.wf.ws.client.internal.AssetsRestClient client)
-
-
Method Details