Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

confluence rest api content property is not displayed with property macros

tolga ulas June 29, 2015

Confluence rest api documentation defines as : "Content properties are a key / value store of properties attached to a piece of Content. The key is a string, and the value is a JSON object."

Confluence developer documentation defines as :  "Content properties are a key-value storage associated with a piece of Confluence content, and are one of the forms of persistence available to you as an add-on developer. Content properties free you from having to use your own data store, by allowing you to store up to 32KB of JSON with each piece of content (a page, blog post, or an attachment). If you need to store metadata about a piece (or pieces) of content, for example, this is a great way to do it."

Confluence properties macro defintion defines as: "The Page Properties and Page Properties Report macro work together to enable you to show summary information from one page on a another page. You can see examples of these two macros in action on the Decision and Product Requirements blueprints."

However, the macro and rest api, although they both use the same jargon of property, their meaning are probably not same. Because there properties created by Rest api can not be bess by Property Report macro, and vice versa, the property macro can not be seen by REST api Property call. 

Is it so? 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Stephen Deutsch
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 30, 2015

Yes, content properties and page properties are two completely different things, as you stated.

tolga ulas June 30, 2015

Thanks Stephen. Is the 32KB limit for value field per property or per page?

0 votes
Angela Benway July 6, 2015

Is there a way to view the Page Properties by using REST? I am trying to show the Page Properties macro using this documentation, https://docs.atlassian.com/confluence/REST/latest/#d3e397, but I keep on getting a message that no macro was found. 

TAGS
AUG Leaders

Atlassian Community Events