Chirpstack v4 REST API sort of working..?

Hello!

Iam trying to understand the rest api.

I use node-red and i can connect to the rest api and request
http://xxxx.xxxxxx.yy:8090/api/gateways?orderBy=NAME
and i get a response but the answer is only

{"totalCount":8, "result":[]}

which matches the number of gateways but i was expecting a list of gateways, not just the total sum.

When i do the same with tenants i also only get i sum of tenants and no list…

What am i missing here?

What you might be missing is &limit=50
I use Node-RED and to list all the device profile I had to add
If you search on forum for &limit you find a number of requests require a limit=X
let’s hoping its that
http://localhost:8090/api/device-profiles?tenantId=” + env.get(“CS_TENANT_ID”) + “&limit=50”