Comprehensive and Detailed Explanation:
Horizon REST APIs support pagination for applicable inventory and monitoring operations that return potentially large collections of records.
Pagination prevents excessively large API responses from consuming unnecessary Connection Server processing capacity, network bandwidth and client-side memory.
When an API endpoint returns a limited page of results, the requesting application must implement the documented pagination mechanism to retrieve the remaining records.
The administrator should consult the Horizon Server REST API documentation for the particular endpoint and deployed Horizon version. The script must process the initial response and continue requesting subsequent pages until the complete result collection has been retrieved.
Where supported, appropriate filtering and sorting should also be implemented to reduce unnecessary data retrieval and improve reporting consistency.
Production automation should account for API errors, request throttling, authentication token expiration and changes to inventory records during the collection process.
Disabling TLS certificate verification introduces security risks without changing pagination behavior. Querying individual Horizon Agent machines bypasses the centralized inventory interface. Adding Connection Servers does not change the result limits imposed by the API endpoint.
Implementing pagination therefore addresses the incomplete inventory reporting behavior directly.
[Reference:Automation and Integration — Omnissa Developer Portal, Horizon Server REST Pagination, Filter and Sorting Guide and API throttling.]
Submit