Greenstand/treetracker-query-api

Get /organizations/{id} change the order for associated planters

Ouverte

#243 ouverte le 13 oct. 2022

 (2 commentaires) (0 réaction) (1 personne assignée)TypeScript (65 forks)auto 404
enhancementgood first issue

Métriques du dépôt

Stars
 (17 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

The endpoint: GET /organizations/{id} will return links which includes associated_planter currently, this link is: /planters?organization_id=${organization.id}&limit=20&offset=0 we need to change it to associated_planters:/organization_id=${organization.id}&limit=20&offset=0&order_by=aboutso the planters that hasabout` content (not empty) will be ordered on the top of the list.

Prerequisites: https://github.com/Greenstand/treetracker-query-api/issues/242

Guide contributeur