Page Details

Hi friends,

I created more number of page in a confluence with a common label. It is possilbe to retrieve the data from the pages which has the label by using the "Rest API".

Please share your thoughts,.

Thanks in advance,

Karthik A.

2 answers

It is possible, but you need to use a special syntax. You would search like this:

<your confluence site>/rest/prototype/1/search/site?label=global:<label>

simply replace <your confluence site> with the url to access your confluence site, and replace <label> with the label you are searching for.

More information can be found on this JIRA ticket:

https://jira.atlassian.com/browse/CONF-21108?focusedCommentId=499677&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-499677

i think you can use Search REST api, but i never done this!

check the latest REST doc from here

https://docs.atlassian.com/atlassian-confluence/REST/latest/#d2e5

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,010 views 22 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you