Class ImageVaultMediaItemStore
Summary description for ImageVaultMediaItemStore.
Inheritance
System.Object
ImageVaultMediaItemStore
Namespace: ImageVault.EPiServer.UI.Stores
Assembly: ImageVault.EPiServer.UI.dll
Syntax
public class ImageVaultMediaItemStore : RestControllerBase
Constructors
ImageVaultMediaItemStore(IClientFactory)
Declaration
public ImageVaultMediaItemStore(IClientFactory clientFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientFactory | clientFactory |
Methods
Get(Int32, Nullable<Int32>)
Gets a MediaCacheItem
Declaration
public JsonResult Get(int id, Nullable<int> formatId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | id | The id of the MediaItem to get |
| System.Nullable<System.Int32> | formatId | Optional format id of the thumbnail url to get. |
Returns
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Mvc.JsonResult | A Microsoft.AspNetCore.Mvc.JsonResult of the MediaCacheItem |