Hello,
Has anyone used successfully the API to retrieve to and from page relations?
It keeps on returning empty arrays to me.
https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation/
Thanks
Hello,
Has anyone used successfully the API to retrieve to and from page relations?
It keeps on returning empty arrays to me.
https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation/
Thanks
async function pageLinksOut(pageId) {
// console.log(pageId);
const response = await api
.asApp()
.requestConfluence(
route`/wiki/rest/api/relation/link/from/content/${pageId}/to/content`,
{
headers: {
Accept: "application/json",
},
}
);
// console.log(`Response: ${response.status} ${response.statusText}`);
const myResponse = await response.json();
console.log(myResponse.results);
return myResponse.results;
}
It’s a known issue and we’ve raised a ticket for it.
Let’s get as many votes as possible.
https://jira.atlassian.com/browse/CONFCLOUD-76030