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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

628 views 7 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you