List forks
const headers = {
'Accept':'application/json'
};
fetch('https://{instance}.paligoapp.com/api/v2/forks',
{
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": 8493,
"uuid": "UUID-1232-1454",
"parent": 3919,
"root_document": 3901,
"position": 7,
"depth": 4,
"document": {
"id": 123,
"name": "My topic",
"uuid": "UUID-1234-5678",
"type": "document",
"creator": "2",
"owner": "2",
"author": "2",
"created_at": 1603622378,
"modified_at": 1603622378,
"checkout": "false",
"checkout_user": "2",
"parent_resource": 456,
"taxonomies": [],
"content": "<?xml>...",
"languages": [],
"custom_attributes": []
}
}
]