Menu

Commit [r4486]  Maximize  Restore  History

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.

jplang 2010-12-11

changed /trunk/app/helpers/application_helper.rb
changed /trunk/app/views/issues/show.api.rsb
changed /trunk/app/views/projects/show.api.rsb
changed /trunk/app/views/users/show.api.rsb
changed /trunk/test/integration/api_test/issues_test.rb
/trunk/app/helpers/application_helper.rb Diff Switch to side-by-side view
Loading...
/trunk/app/views/issues/show.api.rsb Diff Switch to side-by-side view
Loading...
/trunk/app/views/projects/show.api.rsb Diff Switch to side-by-side view
Loading...
/trunk/app/views/users/show.api.rsb Diff Switch to side-by-side view
Loading...
/trunk/test/integration/api_test/issues_test.rb Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.