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

How to import storage format

Sayed Bares [ServiceRocket]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 31, 2018
  1. Install "Confluence Source Editor" add-on.
  2. Go to the page you want to import the Storage format.
  3. Click on "Edit".
  4. Click on "<>".
  5. Paste the codes to the source editor.
  6. Click on "Apply".

1 answer

0 votes
Santwana Sarangi {Appfire}
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.
January 8, 2019

Another way to import the storage format into the confluence page is by using the rest service provided by confluence.

Here is an example

curl -u admin:admin -X POST -H 'Content-Type: application/json' -d '{"type":"page","title":"new page",
"space":{"key":"TST"},"body":{"storage":{"value":"<p>This is <br/> a new page</p>","representation":
"storage"}}}' http://localhost:8080/confluence/rest/api/content/ | python -mjson.tool

Ref: https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/ 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events