Greenstand/treetracker-query-api

Give a fixed order for this API

Open

#291 opened on Mar 15, 2023

 (6 comments) (0 reactions) (1 assignee)TypeScript (65 forks)auto 404
buggood first issuepriorityreleased

Repository metrics

Stars
 (17 stars)
PR merge metrics
 (PR metrics pending)

Description

The bug is: if request this https://prod-k8s.treetracker.org/query/trees?organization_id=193&limit=1000 we got a random list every time, you can request it multiple times, and the return list differs.

Is this because the order is random? If this is the case, please give a default order for the list, for example, order by created time.


Some hints:

  • Please read our readme for more information/guide/tutorial.
  • Here is an engineering book in Greenstand.
  • To know more about our organization, visit our website.
  • If you want to join the slack community (some resources need the community member's permission), please leave your email address.

Contributor guide