Hello,
I want to create an App for Confluence Cloud which is able to receive requests via an API over the Internet.
The Request triggers the application to retrieve the content of a specified page and its children and then return a list of the available pages.
E.g.:
`
curl -H “Authorization: Bearer ” https://our-atlassian/getnewspageslist/
Result:
{ “news_pages”: [ “page-title1”, “page-title2”, “page-title3”] }
`
Backround:
We want the latest news posted in confluence to appear in our intranet (.net).
Ideally the intranet page calls the app running in altassian cloud via API and get a list of the title and content of the individual confluence pages.
Is this achievable with forge? Most examples and tutorials are focused to bring logic into confluence pages rather than provide an endpoint for locally hosted scripts.
My first idea was to have a program retrieve the relevant data via the official confluence api, however that needs (in my understanding) a token or some kind of authentication linked to an existing account which would require an additional license. This is not wanted by our company, so it has to run on atlassian cloud.
I’m thankful for any kind of insight, so if you could point me to any documentation that would be very helpful!