How can I get the number of entities by type?

242 Views Asked by At

I have tried to get it using:

http://ip:1026/v2/entities?type=Audi&details=on

It doesn't work.

1

There are 1 best solutions below

2
On

Try:

GET /v2/entities?type=Audi&options=count

You should get the count in the fiware-total-count header in the response.

Maybe you find useful the pagination documentation in the Orion manual.