Redmine 3.4.4

This commit is contained in:
Manuel Cillero 2018-02-02 22:19:29 +01:00
commit 64924a6376
2112 changed files with 259028 additions and 0 deletions

View file

@ -0,0 +1,14 @@
api.array :files do
@containers.each do |container|
container.attachments.each do |attachment|
api.file do
render_api_attachment_attributes(attachment, api)
if container.is_a?(Version)
api.version :id => container.id, :name => container.name
end
api.digest attachment.digest
api.downloads attachment.downloads
end
end
end
end