variables

11 of 19 in this chapter 1 min read

List variables

 
const headers = {
  'Accept':'application/json'
};
 
fetch('https://{instance}.paligoapp.com/api/v2/variables/',
{
  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,
    "variable_set_id": 123,
    "title": "Height",
    "type": "text"
  }
]