Forums

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

Problem using the Atlassian REST APIs

Mark Wiesenthal January 9, 2023

Hey,

I wanted to use the Confluence REST API (https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space/#api-wiki-rest-api-space-get) to get a list of all spaces. I have implemented the node script to fetch the API but I only get one space back in my JSON data.

Does anyone can help me with this problem?

Mark

1 answer

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 9, 2023

Hi @Mark Wiesenthal 

Note, the returned list will only contain spaces that the current user has permission to view.

Do you have the proper permissions to view all spaces? 

Mark Wiesenthal January 9, 2023

I have used the email adress of our organization admin and the token he has created.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events