how can i get the url of a child page dynamically from the parent page
for example i have created a page
if the url of parent-1 is https://tld/wiki/spaces/DD/pages/27073979/parent-1
then how should i get the the url dynamically the url of child-3 under parent -1
if in future there is child-4 get's created, i need the url of child-4
https://tld/wiki/spaces/DD/pages/70123521/child-3.
Using this REST API endpoint you can get the children of a given page, even sorted!
It seems that the response doesn't contain the URL, but you can call this other API for a set of page IDs to get the link:
https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-get
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.