Expose Public/Private via API
I am trying to extend the API to return the "private" journal field.
The API obeys user authentication with displaying whether or not the journal is returned but I would like to know if the note is private if it is returned.
The issues_controller.rb file seems to use the standard format.api method (line 128) but that does not return this field.
Is there any easy way to force this?
#1 Updated by Stephen Fine over 7 years ago
- Status changed from New to Resolved
Soln is as follows for anyone that needs it:
diff -r redmine-2.4.3/app/views/issues/index.api.rsb redmine-2.4.3_updated/app/views/issues/index.api.rsb
diff -r redmine-2.4.3/app/views/issues/show.api.rsb redmine-2.4.3_updated/app/views/issues/show.api.rsb