Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add and query metadata to a confluence page

Bernhard Malle
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 19, 2018

Hi,

 

how can I define metadata or key:value elements for a confluence page?

I would like to define several key:value pairs on a confluence page and then query the value through REST API for a given key.

 

Example (key:value)

"Software Version": "1.0"

"Message of the day": "The next release will be delivered to customer"

 

I have found a way how to define metadata using the metadata plugin, but it does not get across through the REST API. REST API will only give me information like "currentuser", "_expandable" and so on. REST API call: ".../api/content/Testpage"

We are using Confluence 6.7.2

 

Any help would be highly appreciated.

 

Thanks.

 

Bernhard

2 answers

1 vote
Bernhard Malle
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 19, 2018

Hi Danyal,

 

sigghh. Umm, is there any other possibility to achieve the same, like any type of Markup Language?

1 vote
Danyal Iqbal
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 19, 2018

This is not possible by default. You need to write your own REST Service Plugin or use content properties

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events