GET
Get the path of the thumbnail of the file specified. If you would like to get a batch of thumbnail paths, the combination of Library path
+ Object ID
is recommended.
Parameter | Description |
id | ID of the file |
Sample Code:
var requestOptions = {method: 'GET',redirect: 'follow'};fetch("http://localhost:41595/api/item/thumbnail?id=KBHG6KA0Y5S9W", requestOptions).then(response => response.json()).then(result => console.log(result)).catch(error => console.log('error', error));
Results Returned:
{"status": "success","data": "/Users/augus/Pictures/test.library/images/KBKE04XSTXR7I.info/Rosto.jpg"}