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

Problem adding attachments to pages

I'm creating a confluence page using the REST API and also creating attachments using the API and referencing them from the confluence page and they do appear on the confluence page but they don't have the correct icon (they are JSON files)

AttachmentOnPage.png

and when you attempt to download them you see the following page:

 

If I edit the page and add a file manually then it renders properly and when I've downloaded the content the difference seems to be that the manually added files have a macro-id property assigned to them.  How do I use the REST API to create a macro-id to include in the page content?

1 answer

0 votes
Jessica H Atlassian Team Dec 22, 2021

Hello Simon!

Welcome to the Atlassian Community!

In order to check it further, would you mind checking with a site admin to create a ticket for you on https://support.atlassian.com/contact/, so we can investigate it further with you?

This way, we would be able to perform some tests there if we need to access the instance and understand the problem.

Kindest Regards,
Jessica

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

1,053 views 8 42
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