cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1216
Views
10
Helpful
1
Replies

DNA API Pagination

I have around 2400 devices in the DAN, but when I query network devices, I only get 500 results,

I tried all pagination tricks but I still get back the same first 500 results.

 

https://address/dna/intent/api/v1/network-device
https://address/dna/intent/api/v1/network-device?pages=5
https://address/dna/intent/api/v1/network-device?page=10&rows=100

I even sent a parameter as below but I still get the first 500 results

"pagination": {
    "page": 1,
    "pages": 18,
    "rows": 8,
    "total": 142
}

How to get all the devices at once or is there way to make pagination work

1 Reply 1
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: