On ticket search API results, only the "summary" and "ticket_num" fields are present. We should include many more, if not all fields that solr has available. That will allow API clients to get information in a single request instead of fetching every individual ticket to get whatever data is needed.
Log in to post a comment.
Dave - need a second opinion. It works fine, but I am thinking that it would be better to explicitly specify which fields to return in the response, instead of excluding a few. Any field we will add to tickets later on will appear in REST response, which may not be what we want.
I am fine either way, so I guess I'd say go ahead and merge it.
Since its using the
__json__method it is already using just public fields. So only problem in the future would be if there's a new field that is really big and we don't want in the list result. Which wouldn't be too big of a problem.