bcgov / critterbase-api

0 stars 0 forks source link

842-critter-router #7

Closed GrahamS-Quartech closed 1 year ago

GrahamS-Quartech commented 1 year ago

This PR adds the critter router. CRUD operations are self explanatory for the most part, though the GET by id and GET by WLH ID deserve special mention. GET by a specific critter id will return the relevant row from the critter table in addition to readable, formatted markings and measurements for that table and their latin taxon name and english responsible region name. You can get the same information by hitting the WLH ID endpoint, the only difference being that the return type is array since WLH ID does not guarantee uniqueness.