#301: update API

This commit is contained in:
Vokhmin Alexey V 2013-09-12 18:52:22 +04:00
parent ec912d30d8
commit ea064699c6
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
json.(package, :id, :name, :version, :release)
json.(package, :id, :name, :version, :release, :epoch)
json.type package.package_type
json.updated_at package.updated_at.to_i
json.url (package.sha1 ? "#{APP_CONFIG['file_store_url']}/api/v1/file_stores/#{package.sha1}" : '' )