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

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!



1 answer

Hi Klaus,

You should look at the Confluence REST api. Content properties. . 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.





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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Color tables for a shiny Confluence page

...; ## Developed by: Alana Fernando ## Shared with love ## @param style:title=style type|type=enum|required=true|desc=Choose a style.|enumValues=Style1,Style2,Style3,Style4,Style5 ## @param alignment:title...

270 views 13 16
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you