I am trying to pull a full inventory using curl I am only getting 1000 of 2750 devices in our inventory. I am completely new to scripting and API.
Here is what I am doing so far...
/usr/bin/curl -L -H 'X-Cisco-Meraki-API-Key: [API KEY]' -H 'Content-Type: application/json' -X GET 'https://api.meraki.com/api/v1/organizations/[org id[/inventoryDevices' | jq ".[] | [.serial, .mac, .model, .orderNumber, .claimedAt] | @CSV" | sed -e 's/"//g' | tr -d '\\' > test.csv
I am getting all of the values of each line, but it stops at 1000. How do I get the full inventory?