POST
Re-generate the thumbnail of the file used to display in the List. When changes to the original file were made, you can call this function to re-generate the thumbnail, the color analysis will also be made.
Parameter | Description |
id | The item's ID |
Sample Code:
var data = {"id": "KBKE02W8V0YWD"};var requestOptions = {method: 'POST',body: JSON.stringify(data),redirect: 'follow'};fetch("http://localhost:41595/api/item/refreshThumbnail", requestOptions).then(response => response.json()).then(result => console.log(result)).catch(error => console.log('error', error));
Resuls Returned:
{"status": "success"}