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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Is there a way to get a page content without the HTML tags

I am using the following call:
https://<company>.atlassian.net/wiki/rest/api/content/<ID>?expand=body.storage
to get a page content but I get it with the HTML tags.
is there a way to get the content without the HTML tags ?

Thanks !

2 answers

0 votes
John h
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!
Oct 31, 2023

Similar to Nati I'm finding a problem not being able just to get the body contents. 

Will this functionality be available in the future?

0 votes
Jessica
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 17, 2022

Hi Nati,

Welcome to the Atlassian Community!

I tried the options available in our Confluence Cloud REST API for the content body section, but none of the native options really generates the content without the HTML tags.

I didn't find any options so far in our marketplace as well, and through the UI, there is also not a possibility to generate the content body without the HTML tags. 

We understand this might not the optimal solution for your use case, but this might be necessary to find a third party solution or custom made script in order to remove the HTML tags for you.

Hope this helps at least in terms of clarification, Nati.

Regards,
Jessica

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events