Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Add Page Properties macro via API

Hello,

Is there a way to add Page Properties macro via API?

I was able to add it but overwrite the whole page content.

I used such request:

 {"id""123123","type""page","title""pagetitle","status""current","version": {        "number"3},"body": {   "storage": {            "value""<ac:structured-macro ac:name=\"details\" ac:schema-version=\"1\" data-layout=\"default\"><ac:rich-text-body><table data-layout=\"default\"><colgroup><col style=\"width: 340.0px;\" /><col style=\"width: 340.0px;\" /></colgroup><tbody><tr><td><p>Page Owner</p></td><td><p><ac:link><ri:user ri:username=\"userKeyHere\" /></ac:link> </p></td></tr><tr><td><p>Last Review Date</p></td><td><p><time datetime=\"2021-01-30\" /> </p></td></tr></tbody></table></ac:rich-text-body></ac:structured-macro>",            "representation""storage"   }}

 

Is it posssible to add it without overwriting whole page content?

 

Thanks in advance

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Confluence

Miss the Confluence demos at Team 21? Watch them here!

Phew, Atlassian Team 2021 blew by. With dozens of demos and a handful of keynotes, you may have missed some of the awesome Confluence Cloud sessions. Don't' worry, you can watch them all here or on Y...

286 views 2 6
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