Hi Team,
I'm new to Confluence. I created a Forge Confluence custom UI app for dashboard purposes which queries all the pages of the given space and parses the details of the labels of each page returned in the response.
However, some of the labels are missed and also there is a mismatch in the count of the labels.
I used /wiki/rest/api/space/${spaceKey}/content?start=0&limit=2147483647&expand=metadata.labels to fetch the pages of the given space.
From the JSON response, I parsed the labels from the JSON path data.page.results[i].metadata.labels.results[j].label, where i,j indicates the iteration of each object from an Array,
Thanks!