Hello there!
I've gone through multiple posts on this community and there are multiple alike posts available. My requirement is simple - how to provide label to a particular attachment at the time of uploading the file. File uploading process is performed using rest api.
In this link - https://community.atlassian.com/t5/Answers-Developer-Questions/Add-Label-with-REST-API/qaq-p/533938
multiple answers are which helped me to post label using api but that was globally..but the ask is for a particular attachment.
Any support is appreciated.
Thanks
In Confluence, attachments are types of content, just like pages, so you can reference them by ID and their label value, using:
/wiki/rest/api/content/{id}/label
Read here for more information
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.