setItemThumbnail

Function

Upload a file to be used as the thumbnail for an item

  • setItemThumbnail(id: string, file: any, filename: string, requestOptions: IUserRequestOptions, owner: string) : Promise<void>

Parameters

Parameter Type Default Notes
id Required string
file Required any
filename Required string
requestOptions Required IUserRequestOptions
owner Required string

Available requestOptions

Property Type Notes

Returns

Promise<void>

Function defined in common/src/items/setItemThumbnail.ts:12