Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,068
Community Members
 
Community Events
168
Community Groups

Can I add custom stylesheets for a space by rest api?

If I can,May I get the url and parameters?

1 answer

0 votes
Daniel Ebers Community Leader Dec 28, 2020

Hi Ronaldo,

although there was no context around your question which could help Community members to recommend a good approach I found at least a similar question which could be helpful:

https://community.atlassian.com/t5/Confluence-questions/Is-there-a-way-to-get-a-css-file-or-cdn-for-the-default/qaq-p/778701

You could double check with API documentation if something corresponding to your request is available but probably (as per the linked thread) - it is not.
https://developer.atlassian.com/server/confluence/confluence-server-rest-api/

Regards,
Daniel

@Daniel Ebers 

Hi,Daniel Ebers,

I write my css in confluence space view set by visit {confluenceServer}/spaces/viewstylesheet.action?key=PT11332 manually now. 

I want to set the space view style by rest api, then I can change the space style automatically. 

But I haven't got the api url and parameters.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events