Get simple list of devices via API

Hi, When using the API is there a way to return just a list of devices or other parameters without getting the entire database.

For example,

curl -i ‘http://localhost:7557/devices/

seems to return the entire database but I’m looking to just return a simple list of every “_id” or a list of just every “InternetGatewayDevice.DeviceInfo.SerialNumber”.

I know I can parse all the returned JSON data and create the simple list but I’m trying to avoid collecting so much unnecessary data.


include projection in your query. API will send only parameters those are included in the projection

Exactly what I was looking for. Thank you.