How to store "content" properties on a space or more general?

Klaus UNGER July 7, 2015

We are planning to develop some connect add-ons?

We do have some meta-data necessary for our add-ons to work properly.

E.g. one of our client wants to introduce a category to his pages (similar to the status). We need to define a list of available categories for the site or at least for a space!

Implementation/Logic of the add-on is fairly simple - so no backend is needed, just a static JS add-on.

Is there a possibility to store this meta-information (complete list of categories) somewhere "higher" than page via REST api? As it should be needed by multiple pages!

Thanks

K:)

1 answer

0 votes
Nelson Carranza
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.
July 7, 2015

Hi Klaus,

You should look at the Confluence REST api. Content properties. https://docs.atlassian.com/atlassian-confluence/REST/latest/#d3e820 . You should be able to find the space id in the database, but you can save it in the home page of the space which would be easier to find.

 

Regards

Nelson

 

Klaus UNGER July 7, 2015

Hi Nelson, thanks for the fast response. I'm well aware of the content properties in the REST API, but content is there defined as page or blogpost! Looking for the home-page of a space would be an possible intermediate solution, but I was really looking after an API call to store properties on a Space

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events