nRFCloud API location by tags/groups

Hey everyone!

I'm getting to know the Rest APIs from nRFCloud.

I'm trying to get the latest location for a set of devices. It seems I have to either get from all devices, or just from a single one at a time.

Is there a way to get location of all devices with a specific tag/group? I figured "https://api.nrfcloud.com/v1/location/history?latest=true&tags=XXX" should work. But alas, to no avail.

Does anyone have any bright ideas?

Thanks you all!

Parents
  • Hello,

    I have sent the case to the developers, since it is most likely a feature request.

    From my understanding, the groups are mostly used for access control.

    What you could do in theory is to make a non-admin user for every group and then when you get the data from all devices from those users you will only get the devices from a given group.

    You would have to assign all the devices to some group, since a non-admin user can also see all the unassigned devices.

    Best regards,

    Michal

  • Hello  ,

    And thank you for the reply and suggestion.

    If you could also request the ability to fetch the latest location of any single device/group of devices, that would be very welcomed. Today we can request the latest location of ALL devices, but when requesting for a single device we always get all previous locations.

    Thank you!

Reply Children
Related