folder

1 of 3 in this chapter 1 min read

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

OK

Successful response.

Inline

 
[
  {
    "id": 123,
    "name": "My folder",
    "uuid": "UUID-1234-5678",
    "type": "folder",
    "children": [
      {}
    ]
  }
]