Skip to Main Content
Status Already exists
Categories Integrations
Created by Guest
Created on Mar 29, 2019

Ability to sort results using REST API

When retrieving lists of items with the REST API it would be nice to be able to sort by a field. For example, if sorting by last updated date was supported, integrations that query items (using pagination) could stop once they encountered items that were already retrieved. This would improve performance and reduce unnecessary API calls. 

  • Attach files
  • Admin
    Austin Merritt
    Reply
    |
    Apr 1, 2019

    Hi there, thank you for your idea. By default, most endpoints are sorted from least-recently-created to most-recently-created which fills a lot of the direct need mentioned. We have other sort fields supported for other specific endpoints, but would need more details about what they are trying to do.

    Please send an email with more details on your use case to support@aha.io and we would be able to help in more detail.

    Also, if they you want updates about changes made in Aha!, the activity webhook is a better approach than polling the API.