-
Notifications
You must be signed in to change notification settings - Fork 3
uStoreProvider api assets
-
getAssets(propertyID) ⇒
Promise.<AssetListItemResponseModelArray>
-
Gets collection of the graphic assets by dial ID.
-
getAsset(assetID) ⇒
Promise.<AssetResponseModel>
-
Gets graphic asset detailed data by asset ID.
-
deleteAsset(assetID) ⇒
string
-
Deletes uploaded graphic asset by ID.
-
uploadAsset(propertyID, data, replaceIfExists) ⇒
AssetListItemResponseModel
-
Uploads graphic asset.
-
AssetListItemResponseModelArray :
Array.<AssetListItemResponseModel>
-
Collection of the assets.
-
GUID :
string
-
globally unique identifier
-
AssetListItemResponseModel :
Object
-
Provides graphic asset DTO.
-
AssetResponseModel :
Object
-
Provides graphic asset DTO.
getAssets(propertyID) ⇒ Promise.<AssetListItemResponseModelArray>
Gets collection of the graphic assets by dial ID.
Kind: global function
Returns: Promise.<AssetListItemResponseModelArray>
- Returns collection of the assets.
Param | Type | Description |
---|---|---|
propertyID | GUID |
Graphic dial ID |
getAsset(assetID) ⇒ Promise.<AssetResponseModel>
Gets graphic asset detailed data by asset ID.
Kind: global function
Returns: Promise.<AssetResponseModel>
- Returns graphic assets detailed info.
Param | Type | Description |
---|---|---|
assetID | string |
Graphic asset ID. |
Deletes uploaded graphic asset by ID.
Kind: global function
Returns: string
- Returns deleted graphic asset ID.
Param | Type | Description |
---|---|---|
assetID | GUID |
Graphic asset ID. |
uploadAsset(propertyID, data, replaceIfExists) ⇒ AssetListItemResponseModel
Uploads graphic asset.
Kind: global function
Returns: AssetListItemResponseModel
- Returns uploaded asset.
Param | Type | Description |
---|---|---|
propertyID | GUID |
Graphic dial ID |
data | File |
File to upload |
replaceIfExists | boolean |
When value 'true' and dial has asset with the same name the asset should be replaced by uploaded file |
AssetListItemResponseModelArray : Array.<AssetListItemResponseModel>
Collection of the assets.
globally unique identifier
Provides graphic asset DTO.
Kind: global typedef
Properties
Name | Type | Description |
---|---|---|
ThumbnailUrl | string |
Graphic asset thumbnail URL. |
AssetID | string |
Graphic asset ID. |
DisplayName | string |
Graphic asset name. |
IsUploaded | boolean |
Flag that use to distinguish user uploaded asset from PE asset. |
FileName | string |
Graphic asset name with extension. |
ModificationDate | Date |
Graphic asset modification date. |
Provides graphic asset DTO.
Kind: global typedef
Properties
Name | Type | Description |
---|---|---|
AssetID | string |
Graphic asset ID. |
DisplayName | string |
Graphic asset name. |
IsUploaded | boolean |
Flag that use to distinguish user uploaded asset from PE asset. |
FileName | string |
Graphic asset name with extension. |
Url | string |
Graphic asset URL to the original content. |
ThumbnailUrl | string |
Graphic asset thumbnail URL. |
Width | number |
Graphic asset width in pixels. |
Height | number |
Graphic asset height in pixels. |
SizeKB | number |
Graphic asset size in kilobyte. |
uStore NG Themes
uStore NG Extensibility
Theme customization overview
Editing CSS variables
Editing the CSS
Migration from Legacy to NG
Theme development overview
Getting started
Theme file structure
Publishing the theme
Upgrading a Custom Theme
Editing HTML content
Adding a new page
Adding assets
Adding a component
Customizing a skin
Modifying CSS variables
Editing fonts
Adding JavaScript
uStore library
Working with REST API
Accessing uStore data
Managing custom state
Working with localizations
General services
Adding an external package
Customizing the Theme Editor
Theme tips and tricks
uStoreProvider Reference
Tax Webhook
Order Approval Webhook
Manufacturer Webhook
Widgets
Cart Export Webhook