@jameshiebert suggests returning a 404 instead of a blank list when a request is made to the regions API for which there are no qualifying regions, and perhaps text indicating why there are no qualifying regions (such as being outside the domain).
Similarly, there might be ways to improve the specificity of the population API too. Sometimes there just won't be a salmon population in the area, but detecting whether the area is outside BC is feasible.
@jameshiebert suggests returning a 404 instead of a blank list when a request is made to the
regionsAPI for which there are no qualifying regions, and perhaps text indicating why there are no qualifying regions (such as being outside the domain).Similarly, there might be ways to improve the specificity of the
populationAPI too. Sometimes there just won't be a salmon population in the area, but detecting whether the area is outside BC is feasible.