1672
Views
10
Helpful
1
Replies
DNA API Pagination
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 11:46 PM - edited 02-12-2021 12:34 AM
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
Labels:
- Labels:
-
Cisco DNA Automation
1 Reply 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2021 09:21 AM
