GET https://<nsx-mgr-ip>/api/v1/ip-sets (or login to NSX manager as root user and run the equivalent curl -k -u '<username>:<password>' -H 'Content-Type: application/json' -X GET "https://<nsx-mgr-ip>/api/v1/ip-sets")GET https://<nsx-mgr-ip>/policy/api/v1/infra/domains/<domain-id>/groups (or login to NSX manager as root user and run the equivalent curl -k -u '<username>:<password>' -H 'Content-Type: application/json' -X GET "https://<nsx-mgr-ip>/policy/api/v1/infra/domains/<domain-id>/groups")api/v1/ip-sets default page size as 1000.Note: The Policy API does not have an equivalent API to api/v1/ip-sets, as ip-sets are represented as groups in policy.
The API guide has an incorrect value for the default page size for the GET API api/v1/ip-sets.
It shows the default page size as 1000, whereas it should be 50.
This issue is resolved in VMware NSX 3.2.4
This issue is resolved in VMware NSX 4.2.0
Workaround:
As the MP API's have been deprecated with VMware since NSX 3.2.x, it is advised to use the Policy API's, which have the correct values.