I called GET /rest/api/content/<homepage-id>, and looked at the api docs, nothing there seem to help a lot with updating the content of confluence homepage.
I tried the following as well: https://community.atlassian.com/t5/Confluence-questions/Can-you-programmatically-create-a-banner-for-a-Confluence-space/qaq-p/2033185, still no luck.
Is this achievable via API? If so, how is it done?
Figured out. I used GET /space/<spaceID>/content?expand=body.storage,version to get the HTML of the homepage, do some HTML parsing and modifications, then PUT /content/<contentID> to modify the homepage.
Lmk if there's a simpler way of modifying one section of the HomePage
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.