Project

General

Profile

Redmine REST API possibility to select columns in response?

Added by Y K over 9 years ago

Hi all,
I would like to enumerate columns, which to get in Redmine API response when I search for issues. In other words, I would like to achieve, that the issue object in response will have only specified fields.
Redmine API documentation does not mention that this is possible, but since most of the stuff you can do when defining a custome query is doable also via API, I was hoping that this is possible as well.

I have tried to include in url params for get request stuff like

columns=project,assigned_to,priority,project,tracker

or

column_names=project,assigned_to,priority,project,tracker

And much more experiments but nothing worked.

Is there a way how to do this? Or should the API be extended in a certain way to be capable to accomplish such functionality?

Environment:
 Redmine version 2.5.1
 Ruby version 1.9.3
 Rails version 3.2.16
 Database adapter MySQL5.5

Thank you for your the answer.