Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add depth parameter to the children view into API Confluence

Benoit Cantineau
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 17, 2022

Hello,

Here is my code to add via the Confluence API a children macro into
a confluence page.

I construct an html syntax for it, it works very well but I would like to add the depth parameter in my code to insert this children view macro by inserting for example the first two levels (depth=2)

xmlHttpRequest = confluence_update_page(id, project_name, confluence_space, '<b>This page contains the following sections : </b><p><ac:structured-macro ac:name=\'children\' /></p>', version);

Can you help me?

Regards

Benoit

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events