# Come associare un nuovo caricamento a un post precedente tramite l'API

**URL:** <https://meta.discourse.org/t/how-to-associate-a-new-upload-with-a-previous-post-via-the-api/70369>\
**Category:** Product Support\
**Created:** [19 Settembre 2017, 3:12pm UTC](https://meta.discourse.org/t/how-to-associate-a-new-upload-with-a-previous-post-via-the-api/70369 "2017-09-19T15:12:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![akrherz](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@akrherz](https://meta.discourse.org/u/akrherz)\
**Post date:** [19 Settembre 2017, 3:12pm UTC](https://meta.discourse.org/t/how-to-associate-a-new-upload-with-a-previous-post-via-the-api/70369/1 "2017-09-19T15:12:00Z")

</div>

I am migrating a bunch of content from the Jive Cloud to my discourse. I used the existing `jive_api.rb` which does not do attachments, so I am attempting to manually associate uploads with currently existing posts within discourse.

Via the API, I don’t see a means to update a current post’s uploads. My thought to try is to add the uploads via the API and then manually update the `post_uploads` postgresql table to update the post’s associated uploads. Do you think this will work or am I missing some means via the API to make this happen?

thank you

---

_[View the full topic](https://meta.discourse.org/t/how-to-associate-a-new-upload-with-a-previous-post-via-the-api/70369)._
