not able to access all spaces via http request.

Vinay Patil
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!
May 29, 2024

we are executing one httpRequest with base url (https://vinaypatil88vsp.atlassian.net/wiki/rest/api/search), cql ((type="space" and space.title~"*")),limit (10) and authHeader which is returning the response of spaces &  we are getting only spaces which are custom but, knowledge-based and collaboration spaces are not fetched, I checked cql & tried analyzing and creating various cql still not worked, checked it on community also and readed documentation also but not found the rootcause and solution for it.
{
"_links": {
"base": "https://vinaypatil88vsp.atlassian.net/wiki",
"context": "/wiki",
"self": "https://vinaypatil88vsp.atlassian.net/wiki/rest/api/search?space.key=T2&cql=type=space%20"
}
Also I tried with the CQL (type="space" ) but still its giving the same result in its response its returning size=”5” and total Size=”9” and so 4 knowledge-based and collaboration spaces are missing in result array.
Please do provide a potential solution for it.
Thanks and regards,

1 answer

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 7, 2024

@Vinay Patil welcome to the Atlassian community

Does the account you are using have access to the spaces that are missing?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events