Forum Discussion

David_Bond's avatar
David_Bond
Icon for Professor rankProfessor
2 years ago

API: How do I bulk-query topology data?

I need to query topology data for all devices.  What is the endpoint for that?

Currently, I’m using:

  • topology/data?resource=device.XXX&algorithm=I-Feel-Lucky

...but obviously, this requires iterating over all devices, which is stupidly inefficient and is clogging up the REST API.

How can this be achieved in a single (albeit probably paged) query?

No RepliesBe the first to reply