Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to call the children macro via API

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

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
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

43,960 views 33 137
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you