Need REST APIs for Pages and Users in Space

Saikumar Gottemukkula December 30, 2024

Need REST APIs to get

1. Total Pages created, updated and viewed in a space in specific duration along with Page info.

2. Total Pages created, updated and viewed by all Users in a Space in specific duration along with Page info.

Request you to help me with this on priority.

1 answer

0 votes
Robert Wen_Cprime_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 30, 2024

hello @Saikumar Gottemukkula , Welcome to the Atlassian Community!

You may want to look at incorporating Confluence Query Language (CQL) in your REST operation.  I've attached some documentation.

https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/

Saikumar Gottemukkula December 31, 2024

Hi @Robert Wen_Cprime_ , Thanks you for quick turnaround.

We tried using CQL where we are getting approximate response for Pages Created in specific duration.

But the response for Pages Updated in a specific duration is not accurate as the API returns only the last updated history for a Page. We are looking for all the Update Count for Pages in a duration.

Also, we didn't get the CQL field for Page Views and User Views(of all Pages) in specific duration.

We see Analytics Views API(/wiki/rest/api/analytics/content/{contentId}/views) for page that accepts only fromDate as query parameter but not toDate.

Saikumar Gottemukkula January 7, 2025

Hi @Robert Wen_Cprime_ - May I know if you had a chance to look into this?

Suggest an answer

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

Atlassian Community Events