Feature #8296
closed
Added by Emmanuel Bourgerie almost 14 years ago.
Updated over 13 years ago.
Description
Hi !
I'm integrating a custom Redmine front-end in our customer portal via the REST API. We are in need for comments (still in REST).
As it is a feature we would like to have in the next few months, we are ready to help you in the development effort.
I took a look at the code, journals seem to be implemented in models/show.api.rsb.
But, as far as I understood (I'm quite new to RoR), it has to be enabled :
api.array :journals do
@issue.journals.each do |journal|
api.journal :id => journal.id do
[...]
end
end
end if include_in_api_response?('journals')
My question is : where can this parameter be set ? I manually removed if include[...] to test, it seems to be working.
- Status changed from New to Resolved
Found it : just had to do something like :
GET /issues/1.xml?include=journals
- Status changed from Resolved to Closed
- Resolution set to Invalid
Also available in: Atom
PDF