rfcx / rfcx-api

Core, Media/Assets and MQTT APIs
https://api.rfcx.org/docs/
Apache License 2.0
0 stars 0 forks source link

Create `GET /classifier-jobs/{jobId}/summary/{classificationValue}` #596

Closed grindarius closed 6 months ago

grindarius commented 6 months ago

Is your feature request related to a problem? Please describe. Currently we have a problem where we cannot precisely get the name and total count of given species when user access the /p/{projectSlug}/detect/cnn/detail/{classificationValue}

Describe the solution you'd like I will create GET /classifier-jobs/{jobId}/summary/{classificationValue} endpoint to get information about the total counts of the species and their name. Where it will return 404 when given classificationValue does not exist in the classifier used in that job. It will also have the same return type as the object that is returned from GET /classifier-jobs/{jobId}/summary endpoint as well

Describe alternatives you've considered Paginationing like crazy to grab my species, it's just too expensive.

Additional context none