orchestracities / anubis

Anubis: a flexible policy enforcement solution for NGSI APIs (and beyond!)
https://anubis-pep.readthedocs.org
Apache License 2.0
7 stars 5 forks source link

on listing api calls return an header with the total number of elements (to allow easy ui pagination) #191

Closed chicco785 closed 1 year ago

chicco785 commented 1 year ago

Is your feature request related to a problem? Please describe.

From the user interface it is not possible to compute the number of existing values, and hence display correctly the related information.

Describe the solution you'd like

Compute total elements linked to a query (without limit and offset) and return the value in a header (e.g. Counter)

Describe alternatives you've considered

N/A

Additional context

N/A

chicco785 commented 1 year ago

cf https://github.com/orchestracities/auth-management-ui/issues/127 assigned to @Valecant

c0c0n3 commented 1 year ago

closed by #202