11 Jan 2022
10:08 AM
- last edited on
12 Jan 2022
12:45 AM
by
MaciejNeumann
The API docs for "api/v1/entity/infrastructure/processes" indicates that if pageSize is not set, "the result contains all processes fitting the specified filtering criteria". However, when not set, I receive a maximum of 4000 results. When I attempted to set pageSize greater than 4000, I received a 400 return code with error:
"The page-size for entity instance queries must not exceed the configured limit of 4000 for instance queries.You may also use the 'includeDetails' query parameter to reduce the amount of information which is returned. The default of this parameter is 'true'. The entity limit for 'includeDetails' = true, is: 4000. The entity limit for 'includeDetails' = false, is: 12000."
I don't mind having to paginate, but the API docs should not explicitly state it isn't required. The description for pageSize in the API doc should be updated to indicate the limits indicated by this error message.
Agreed that the documentation should reflect that. @jaroslaw_orlows , can you help out with the help page? This is the one question, but it's also true for the other V1 entity endpoints, such as for hosts: https://www.dynatrace.com/support/help/dynatrace-api/environment-api/topology-and-smartscape/process...
Mike