bulatkaz
Contributor
Contributor

vRA 8 REST API Pagination

Jump to solution

Is it possible to specify number of elements for REST call to vRealize Automation 8?

Seems like the default one is 100 which is not enough for our environment. For example GET request to "https://{{vra-fqdn}}/iaas/api/fabric-networks" returns the following:

"totalElements": 900,

"numberOfElements": 100

Can't find a way to specify page or limit to retrieve remaining networks.

0 Kudos
1 Solution

Accepted Solutions
bulatkaz
Contributor
Contributor

Found the solution in VMware slack chat, thanks to stevio54​!

Limit parameter should come with $ sign, an example for fabric networks:

https://{{vra-fqdn}}/iaas/api/fabric-networks?$limit=1000

View solution in original post

0 Kudos
1 Reply
bulatkaz
Contributor
Contributor

Found the solution in VMware slack chat, thanks to stevio54​!

Limit parameter should come with $ sign, an example for fabric networks:

https://{{vra-fqdn}}/iaas/api/fabric-networks?$limit=1000

View solution in original post

0 Kudos