Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,623
Community Members
 
Community Events
184
Community Groups

How to access restricted pages by admin in confluence cloud?

Edited

Hi Team,

We have use case to crawl all spaces and pages from confluence site.
But we have encountered an issue where crawler account is not able to discover pages defined with restrictions. We are using Content API as mentioned below:-
Sample Endpoint: https://<SiteURL>/wiki/rest/api/content/search?expand=body.storage,restrictions.read.restrictions.user,restrictions.read.restrictions.group,space,ancestors,history,history.lastUpdated,history.contributors.publishers.users,children.attachment,metadata.labels&limit=25&start=0&cql=type in (page,blogpost) and space = <spaceName>. It gives empty response.
This crawler account (app authorized using OAuth2 with required scopes) has access to all spaces but not part of restrictions defined at page level.


Basically, we want crawler account to access all spaces and pages (even restricted ones).
Can you please help in answering below:
1. How crawler account can access to restricted pages? 

2. Is there any other endpoint which can be used to get restricted pages by crawler account?

3 answers

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 09, 2023

Welcome to the Atlassian Community!

No.

The whole point of restrictions is to stop people who should not see pages from seeing them.

You will need to grant your crawler access to the restricted pages if you want it to be able to see them.

1 vote
Ken McClean
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 09, 2023

As far as I know, Confluence Cloud admins can't view restricted spaces to which they have not been granted view permission. This is different than Confluence server.

However, as the admin you can still grant yourself view permission, and then scrape the space.

0 votes
David Bakkers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 15, 2023 • edited

Please don't cross-post using multiple user accounts.

You asked the question here in the Developer Community using the account RolIT and got the same answer.

Suggest an answer

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

Atlassian Community Events