developmentseed / developmentseed/pearl-backend

Add mosaic meta to /mosaics and /models endpoints

Open
#43 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
58
Forks
7
PR merge metrics
No merged PRs in 30d

Description

The endpoint `/mosaics` is returning ids only, requiring additional requests to `/mosaics/:id` endpoint to fetch metadata. It would be nice to change `/mosaics` endpoint to include all metadata from mosaics to avoid this flow in the front end. This is a breaking API change.

Another enhancement required by [multiple imagery selection](https://github.com/developmentseed/pearl-frontend/issues/22) in the front end is to include a property `imagery_id` to the `model.meta` object of `/models` endpoint, which will allow matching base imagery of a model.

cc @geohacker @ingalls

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.