1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 15:31:12 +00:00
redmine/app/views/attachments/upload.api.rsb
Jean-Philippe Lang baaa15ebdd Return attachment id in api response to attachment upload (#23566).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 21:15:13 +00:00

5 lines
75 B
Plaintext

api.upload do
api.id @attachment.id
api.token @attachment.token
end