Skip to main content

Paligo API

Show image

const headers = {
  'Accept':'application/json'
};

fetch('https://{instance}.paligoapp.com/api/v2/images/{id}',
{
  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.

Image

{
  "id": 123,
  "name": "Image 1",
  "uuid": "UUID-1234-5678",
  "creator": "2",
  "owner": "2",
  "author": "2",
  "created_at": 1603622378,
  "content_url": "https://example.paligoapp.com/file-name.jpg",
  "type": "image"
}