How to fetch all macros for a confluence cloud page?

Jyoti Chauhan May 17, 2023

I tried to access REST API to get content for a page with/wiki/rest/api/content/{pageId}?expand=body.storage and in its body field, I can see macros are available but not all macros are assigned with macro-id or macro tag name like table, date macros does not come with a macro id in body value.

So I was looking if there is any rest end point or cql query with which we can fetch all the macros for a page or blog or comment etc. or is there any identification tag in a body value of a content that says that a particular field is a macro type?

1 answer

0 votes
Sanjen Bariki
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 2, 2023

Hi @Jyoti Chauhan ,

 

Welcome to Atlassian Community!

In Confluence Cloud, there is no Inbuilt option to get all the list of confluence Macro.

you can directly raise a ticket with Atlassian team they can give you the list of Macro because they have the Full Confluence DB access.

 

Accept the Answer If it helps you

Regards,

Sanjen Bariki

Suggest an answer

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

Atlassian Community Events