1. Stylelabs.M.Sdk.Clients

Interface IAssetsClient

Contains functionality for asset operations.

Namespace: StylelabsStylelabs.MSdkClients

Assembly: Stylelabs.M.Sdk.dll

Syntax

public interface IAssetsClient

Properties

FinalLifeCycleManager

Gets the final life cycle manager.

Declaration

IFinalLifeCycleManager FinalLifeCycleManager { get; }

Property Value

TypeDescription
IFinalLifeCycleManager

Methods

CreatePublicLinkAsync(long, string, DateTime?, string)

Creates a public link for the specified asset.

Declaration

Task<long> CreatePublicLinkAsync(long assetId, string rendition, DateTime? expirationDate = null, string relativeUrl = null)

Parameters

TypeNameDescription
longassetIdThe asset id.
stringrenditionThe name of the rendition.
DateTimeexpirationDateThe expiration date of the public link.
stringrelativeUrlThe relative URL of the public link.

Returns

TypeDescription
Task<>longThe id of the public link entity.
If you have suggestions for improving this article, let us know!