/api/item/refreshThumbnail
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:
1
var data = {
2
"id": "KBKE02W8V0YWD"
3
};
4
5
var requestOptions = {
6
method: 'POST',
7
body: JSON.stringify(data),
8
redirect: 'follow'
9
};
10
11
fetch("http://localhost:41595/api/item/refreshThumbnail", requestOptions)
12
.then(response => response.json())
13
.then(result => console.log(result))
14
.catch(error => console.log('error', error));
Copied!
Resuls Returned:
1
{
2
"status": "success"
3
}
Copied!
Last modified 9mo ago
Copy link