Show folder
const headers = {
'Accept':'application/json'
};
fetch('https://{instance}.paligoapp.com/api/v2/folders/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
Responses
{
"id": 123,
"name": "My folder",
"uuid": "UUID-1234-5678",
"type": "folder",
"children": [
{
"id": "456",
"name": "My subfolder",
"uuid": "UUID-5678-1234",
"type": "folder"
}
]
}