rfcx / rfcx-api

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

Make `GET /detections` return `Total-Items` header #585

Closed grindarius closed 5 months ago

grindarius commented 5 months ago

Is your feature request related to a problem? Please describe. There is a new UI proposal for the new CNN validation page https://www.figma.com/file/FGnP9kAFLDmraAFJf8OBAG/CNN-Roadmap?type=design&node-id=870-15747&mode=design&t=n6hCR21W4II4aKPQ-4

Screenshot 2567-04-10 at 13 40 46

At the bottom right corner of this image, there's a new UI that would display the total page of the possible response.

Describe the solution you'd like Return a Total-Items header as a total count of given query condition.

Describe alternatives you've considered None.

Additional context