Get outgoing links via API

Steve Grimes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 2, 2024

1. outgoing links My project involves traversing confluence pages to download files to scrape text out for AI text vectorization.  My start "front page" lists over 200 child links to sub pages as well as outgoing links to other pages.  I've found that I'm able to successfully traverse child pages but do not know how to grab the outgoing links using gthe API that are important in almost every page.  I've looked at [base url]/rest/api/content/[page]?expand=body.view but would rather not parse that output

 

2. sites.  I've found "site" pages that do not contain the top right elipse or page info option.  The format of the url for these pages is https:[host]/sites/[an internal group name]/SitePages/Home.aspx.  Is there a way via the API to get a page_id for these pages?  Is there a way via the API to retrieve all site pages within the space?

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events