Hi,
I know that there are 'view' and 'styled_view' in API to get my article. I try to insert article from Confluence to the website page, but using API I am getting only text, without proper CSS. I want to get original CSS, like it was in Confluence. How can I do this? Please, help
Hello @zhanibek ,
Yes, you can add the '?expand=body.styled_view' to the URI of the HTTP request to Confluence Cloud and get the whole HTML with HEAD/BODY elements in the content body REST API response:
https://<site>.atlassian.net/wiki/rest/api/content/<ID>?expand=body.styled_view
In such a case there will be a big amount of text data to parse :)
Hello,
Thank you for your response.
I am currently using 'styled_view,' but when I check the text data, I see styles like this: "#footer .footer-body { color: @Aui-footer-body-text-color; "
As you can see, it uses some styles and variables that I do not have in my app. Where can I get these styles?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.