Getting metadata from "Page Properties Report Macro"

David Milne-Buckley November 27, 2018

I am trying to use the rest API to pull metadata from the page properties report macro. Does anyone have a method of doing this. Confluence is running in the cloud

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 29, 2018

Hello David and welcome to the Community!

When you access a Confluence page over the REST API with a GET request, the response for the page’s content will be displayed in the storage format. Within that storage format you will be able to see the page properties macro and the listed items within. This type of request would be a Get content by ID.

There an additional request to Get macro body by macro ID. This will allow you to see the contents of the macro displayed in the storage format.

To get more clarification on what type of data you are attempting to access, can you let us know what metadata you are going after?

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events