I'm going to download information for processing locally about builds through REST API using /rest/builds?<search criteria1>=<value1>..., but it returns all information about builds in returned xml, including all executed steps. My system has a lot of builds with many steps executed, so resulted xml is very large. Taking into account slow internet connection to server it require a lot of time to downlowd xml. Is it possible to restrict number of field returned through this API, at least turn off steps from returned xml?
BTW, just example - REST api in JIRA has such mechanism for /rest/api/2/search (
http://docs.atlassian.com/jira/REST/latest/):
/rest/api/2/search?jql&startAt&maxResults&fields&expand
Searches for issues using JQL.
...
The fields param (which can be specified multiple times) gives a comma-separated list of fields to include in the response. This can be used to retrieve a subset of fields. A particular field can be excluded by prefixing it with a minus.
By default, only navigable (*navigable) fields are returned in this search resource. Note: the default is different in the get-issue resource -- the default there all fields (*all).
*all - include all fields
*navigable - include just navigable fields
summary,comment - include just the summary and comments
-description - include navigable fields except the description (the default is *navigable for search)
*all,-comment - include everything except comments