Documentation for ContentService.find()

There are many API’s in com.atlassian.confluence.pages.PageManager like getPage(long id),getPage(String spaceKey, String pageTitle) which are widely used and now are depricated and suggested to use ContentService.find(Expansion…) but there is no proper documentation of ContentService.find(Expansion…) API in confluence version above 7.

Replacement of ContentService.find(Expansion…) is suggested as faster but not able to use it in absence of proper documentation.Can you please guide to the documentation of ContentService class and it’s API’s.

Also few examples of ContentService API’s for Pagemanager and SpaceManager API’s which are deprecated.

1 Like

Welcome to the Atlassian Developer Community, @PriyaJohari !

I was not able to find the docs for ContentService#find(Expansion ...) in the developer pages, but this solution from the community might be of help to you.


1 Like