List folders
const headers = {
'Accept':'application/json'
};
fetch('https://{instance}.paligoapp.com/api/v2/folders',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
Responses
Status | Meaning | Description | Schema |
|---|---|---|---|
200 | Successful response. | Inline |
[
{
"id": 123,
"name": "My folder",
"uuid": "UUID-1234-5678",
"type": "folder",
"children": [
{}
]
}
]