##// END OF EJS Templates
Merged r13365 (#14796)....
Merged r13365 (#14796). git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@13366 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12374:de19424ea5b5
r13012:882f6f1b64b8
Show More
index.api.rsb
17 lines | 632 B | text/plain | TextLexer
Jean-Philippe Lang
Makes /projects API accept same pagination parameters as other API collection resources....
r4458 api.array :projects, api_meta(:total_count => @project_count, :offset => @offset, :limit => @limit) do
Jean-Philippe Lang
Converts ProjectsController to use the new API template system....
r4342 @projects.each do |project|
api.project do
api.id project.id
api.name project.name
api.identifier project.identifier
api.description project.description
Jean-Philippe Lang
Adds visibility condition on parent project in API....
r6084 api.parent(:id => project.parent.id, :name => project.parent.name) if project.parent && project.parent.visible?
Jean-Philippe Lang
Adds project status to GET /projects/:id and GET /projects API response (#15815)....
r12374 api.status project.status
Toshi MARUYAMA
remove trailing white-spaces from app/views/projects/index.api.rsb...
r7136
Jean-Philippe Lang
Fixed: error when serializing back objects with custom fields using ActiveResource (#6403)....
r4366 render_api_custom_values project.visible_custom_field_values, api
Toshi MARUYAMA
remove trailing white-spaces from app/views/projects/index.api.rsb...
r7136
Jean-Philippe Lang
Converts ProjectsController to use the new API template system....
r4342 api.created_on project.created_on
api.updated_on project.updated_on
end
end
end