Greenstand / Greenstand/treetracker-api

Use case: searching for photos to add to to species database

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4
Forks
33
PR merge metrics
No merged PRs in 30d

Description

The botany team has a workflow: 1. sampling images from particular places and organizations, 2. checking for new species, 3. documenting them in the GS [herbarium](herbarium.treetracker.org/). Currently we access the DB directly via ssh and psql. It would be great to get the information via an API. The immediate API needs are thus:

1. Query the `trees` endpoint, requesting tree lists (minimum results: `image_url`, `id`, species and long and lat), filtering by:
- long/lat bounding box
- capture date range
- by organization (this requires a double join in the DB via the planters table)
- by species
- by uuid
- by tree id (`trees`.`id` field)
2. Query the `organizations` endpoint to get the organization ID needed for 1. Filtering on:
- Organization name

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.