After some research, i was able to find a way to get the page properties with the below command "/rest/masterdetail/1.0/detailssummary/lines?spaceKey=$spacekey&cql=label=$label"
Is there a rest api which i can use to post the page properties?
Anybody successfully update a Page Property inside a page property macro using REST API?
@charlie_gavins Were you able to do this? I thought that I achieved it but when I add a macro it overwrites the whole page content.
Is there a way to add Page Property Macro without overwriting current page content?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No luck I'm afraid!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can use https://developer.atlassian.com/cloud/confluence/rest/#api-content-id-property-key-put (for cloud) and https://docs.atlassian.com/ConfluenceServer/rest/6.9.1/#content/{id}/property-update (for server).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Aleksandr Zuevich, Thanks for the reply. But the links you have provided above, are for the content properties.
We have a macro as "Page Properties", and i'm trying to find an rest api for that. I was able to get the rest api for "GET", but not able to find the "PUT/POST" rest api.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shesha - any luck here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.