Undocumented Feature: Create Description for file attachments.
I noticed in http://www.redmine.org/projects/redmine/wiki/Rest_api#Attaching-files that in the example xml
POST /issues.xml <issue> <project_id>1</project_id> <subject>Creating an issue with a uploaded file</subject> <uploads type="array"> <upload> <token>7167.ed1ccdb093229ca1bd0b043618d88743</token> <filename>image.png</filename> <content_type>image/png</content_type> </upload> </uploads> </issue>
no "description" tag is given.
It's odd as it would be pretty straight forward to give here the possibility to add the file description - so i tried it out and it is working as expected. Adding the tag <description>Test</description> inside <upload> gives the uploaded file a description.
Unfortunatly it is not documented in the api and therefore it is not included into libraries like the https://code.google.com/p/redmine-net-api.
Can the documentation be added in the wiki?
#1 Updated by Michael Kling about 7 years ago
Created a patch for the .net api and added also an issue there: https://code.google.com/p/redmine-net-api/issues/detail?id=32&q=label%3AType-Defect