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?