VMware Cloud Community
bulatkaz
Contributor
Contributor
Jump to solution

vRA 8 REST API Pagination

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.

Reply
0 Kudos
1 Solution

Accepted Solutions
bulatkaz
Contributor
Contributor
Jump to solution

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

1 Reply
bulatkaz
Contributor
Contributor
Jump to solution

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