Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to get pages in more than one space via the get content API

Suryasis Paul
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 5, 2023

I am trying to use the /rest/api/content to get the pages for more than one space in one shot without making iterative calls with separate space keys.  I am aware that this can be done via CQL query in the rest/api/content/search API but I want same functionality, through content API

I am trying to fire queries like

GET http://{ON_PREM_END_POINT}/rest/api/content?start=0&limit=50&type=page&spaceKey=SPACEA,SPACEB but thid results in 400

Is there a way to do this?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events