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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.