Actions
Defect #12773
closedUndocumented Feature: Create Description for file attachments.
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Documentation
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
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?
Actions