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 create page properties macro using REST API?

I am following the API reference given below:
https://developer.atlassian.com/cloud/confluence/rest/api-group-content-properties/#api-wiki-rest-api-content-id-property-post

But, the example is not well-crafted. I am not getting how to pass my content in the page properties macro and nothing present about "value" keyword.

Basically I want to create a Table as page properties in the confluence page so that I can link it to some other page. For testing purpose the payload that I am using is given below:

```

payload = {
        "key""spiderman_test1",
        "value":[],
        "body": {
            "storage": {
                "value""<p>Enjoy the API</p>",
                "representation""storage",
            }
        }
    }

```

But it didn't reflected any change on the actual page.

 

Please help me out in what should be the payload for this api. Thanks!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
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,649 views 33 135
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