Defect #12773
closedUndocumented Feature: Create Description for file attachments.
0%
Description
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?
Updated by Michael Kling almost 12 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
Updated by Etienne Massip almost 12 years ago
- Tracker changed from Patch to Defect
- Category changed from REST API to Documentation
- Status changed from New to Closed
- Resolution set to Fixed
Added the markup in the example in documentation, thanks.