cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get services / processes API response is missing records

efrat_hazani
Newcomer

When using curl to get the list of all services, there are services missing from the returned JSON.

I am running:

curl -X GET "https://<host>/api/v1/entity/applications" -H "accept: application/json;charset=UTF-8" -H "Content-Type: application/json;charset=UTF-8" -H "Authorization: Api-Token <api-token>" -d "{}"

And:

curl -X GET "https://<host>/api/v1/entity/services" -H "accept: application/json;charset=UTF-8" -H "Content-Type: application/json;charset=UTF-8" -H "Authorization: Api-Token <api-token>" -d "{}"

In the applications JSON I see that some application is calling service X, but service X doesn't exist in the services JSON.

Is there a limit on the response size? How can I see all the services?

Thanks!

1 REPLY 1

dave_mauney
Dynatrace Champion
Dynatrace Champion

Is there a Next-Page-Key response header in the JSON returned? Did you check to see if that missing service is visible from the UI and if so, when it last had traffic?