#7789 Return more fields in ticket API search results


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.


Tickets: #7790


  • Dave Brondsema

    Dave Brondsema - 2014-11-03
    • labels: allura-api --> allura-api, sf-1, sf-current
  • Igor Bondarenko - 2014-11-04
    • labels: allura-api, sf-1, sf-current --> allura-api, sf-1, sf-current, 42cc
    • status: open --> in-progress
    • assigned_to: Igor Bondarenko
  • Igor Bondarenko - 2014-11-10
    • status: in-progress --> review
  • Igor Bondarenko - 2014-11-10

    Closed #680. ib/7789

  • 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.

  • Dave Brondsema

    Dave Brondsema - 2014-11-12

    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.

    • status: review --> closed
  • Dave Brondsema

    Dave Brondsema - 2014-11-17
    • labels: allura-api, sf-1, sf-current, 42cc --> allura-api, sf-1, 42cc
  • Dave Brondsema

    Dave Brondsema - 2015-01-05
    • Milestone: unreleased --> asf_release_1.2.0

Log in to post a comment.