Interface IAssetsClient
Version: 4.0
Contains functionality for asset operations.
Namespace: StylelabsStylelabs.MSdkClients
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public interface IAssetsClient
Properties
FinalLifeCycleManager
Gets the final life cycle manager.
Declaration
RequestResponse
IFinalLifeCycleManager FinalLifeCycleManager { get; }
Property Value
Type | Description |
---|---|
IFinalLifeCycleManager |
Methods
CreatePublicLinkAsync(long, string, DateTime?, string)
Creates a public link for the specified asset.
Declaration
RequestResponse
Task<long> CreatePublicLinkAsync(long assetId, string rendition, DateTime? expirationDate = null, string relativeUrl = null)
Parameters
Type | Name | Description |
---|---|---|
long | assetId |
The asset id. |
string | rendition |
The name of the rendition. |
DateTime | expirationDate |
The expiration date of the public link. |
string | relativeUrl |
The relative URL of the public link. |
Returns
Type | Description |
---|---|
Task<>long |
The id of the public link entity. |