Makes some attributes optional in API response to get faster/lightweight responses.
These attributes are not required for common uses case (eg. updating an object). They can be requested in the reponse using the 'include' parameter. Example GET /issues/1.xml?include=journals. The list of attributes that can be included in responses will be documented in the wiki. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4486 e93f8b46-1217-0410-a6f0-8f06a7374b81
Showing
- app/helpers/application_helper.rb 10 additions, 0 deletionsapp/helpers/application_helper.rb
- app/views/issues/show.api.rsb 4 additions, 4 deletionsapp/views/issues/show.api.rsb
- app/views/projects/show.api.rsb 1 addition, 1 deletionapp/views/projects/show.api.rsb
- app/views/users/show.api.rsb 1 addition, 1 deletionapp/views/users/show.api.rsb
- test/integration/api_test/issues_test.rb 3 additions, 3 deletionstest/integration/api_test/issues_test.rb
Please register or sign in to comment