13 Dec 2024 02:08 AM - last edited on 13 Dec 2024 08:04 AM by MaciejNeumann
We want to use dynatrace api to retrieve problems and comments data from dynatrace. But if we add the recentComments field, the limit on the number of retrieved items is too small, allowing only 10 items to be fetched at once. Is there have any way can break this limitation? Our header is: params = { "fields":"recentComments", "from": from_time.isoformat(timespec="milliseconds"), "to": to_time.isoformat(timespec="milliseconds"), }
Solved! Go to Solution.
02 Jan 2025 04:30 PM
Hi, @elizawang! Have you managed to find the answer to your question? It would be great if you share it with the Community 🙂
02 Jan 2025 09:35 PM
Hi @elizawang ,
I think what you are looking for is "pageSize".
If you want more data, you may have to iterate using the "nextPageKey" programmatically.
Here is the link to doc:
Problems API v2 - GET problems list — Dynatrace Docs