Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to call the children macro via API

Antoine _Klee Group_ December 14, 2021

Hello,

I am creating Confluence content using the REST API.

I manage to call the table of content macro using the {toc} tag within the content body.

However this does not work with the {children} macro.

I tried using the example provided in this documentation page https://confluence.atlassian.com/conf72/children-display-macro-982323081.html

{children:reverse=true|sort=creation|style=h4|page=Home|excerpt=none|first=99|depth=2|all=true}

But this did not work either, it is not interpreted.

Does anyone have a clue about it?

Thanks.

1 answer

1 accepted

0 votes
Answer accepted
Antoine _Klee Group_ December 14, 2021

Done, Seems like I was escaping the curly bracket when calling the macro as wikistyle.

Suggest an answer

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

Atlassian Community Events