uploadImageResource
Given an item, and owner, add a image resource to the item and returns its url
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
id Required | string | ||
owner Required | string | ||
file Required | any | ||
filename Required | string | ||
ro Required | IUserRequestOptions | ||
prefix Optional | string | "" |
Returns
Promise<string>
Function defined in common/src/items/uploadImageResource.ts:16