/api/item/thumbnail
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 IDis recommended.
Parameter
Description
id
ID of the file
Sample Code:
1
var requestOptions = {
2
method: 'GET',
3
redirect: 'follow'
4
};
5
6
fetch("http://localhost:41595/api/item/thumbnail?id=KBHG6KA0Y5S9W", requestOptions)
7
.then(response => response.json())
8
.then(result => console.log(result))
9
.catch(error => console.log('error', error));
Copied!
Results Returned:
1
{
2
"status": "success",
3
"data": "/Users/augus/Pictures/test.library/images/KBKE04XSTXR7I.info/Rosto.jpg"
4
}
Copied!
Copy link