You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.api.rsb 682B

1234567891011121314151617181920
  1. api.array :versions, api_meta(:total_count => @versions.size) do
  2. @versions.each do |version|
  3. api.version do
  4. api.id version.id
  5. api.project(:id => version.project_id, :name => version.project.name) unless version.project.nil?
  6. api.name version.name
  7. api.description version.description
  8. api.status version.status
  9. api.due_date version.effective_date
  10. api.sharing version.sharing
  11. api.wiki_page_title version.wiki_page_title
  12. render_api_custom_values version.visible_custom_field_values, api
  13. api.created_on version.created_on
  14. api.updated_on version.updated_on
  15. end
  16. end
  17. end