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!

Thanks

K:)

1 answer

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

 

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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,042 views 15 13
Join discussion

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