/api/item/refreshPalette

POST Re-analysis the color of the file. When changes to the original file were made, you can call this function to refresh the Color Analysis.

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/refreshPalette", requestOptions)
  .then(response => response.json())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));

Results Returned:

{
    "status": "success"
}

Last updated