# /api/v0/object/patch/add-link replacement?

**URL:** <https://discuss.ipfs.tech/t/api-v0-object-patch-add-link-replacement/12059>\
**Category:** Uncategorized\
**Created:** [August 27, 2021, 7:14pm UTC](https://discuss.ipfs.tech/t/api-v0-object-patch-add-link-replacement/12059 "2021-08-27T19:14:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dapplion](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/dapplion/32/3994_2.png) [@dapplion](https://discuss.ipfs.tech/u/dapplion)\
**Post date:** [August 27, 2021, 7:14pm UTC](https://discuss.ipfs.tech/t/api-v0-object-patch-add-link-replacement/12059/1 "2021-08-27T19:14:35Z")

</div>

Given an IPFS UnixFS directory I need to add a new file to it. How can I do it if `/api/v0/object/patch/add-link` is deprecated? I need to add a small file from a browser to a very big directory, so re-uploading the whole thing is not an option. Is there a safe API to do it without messing with objects directly?

Thank you!
