Interface TopologySmartscapeServiceApi


  • public interface TopologySmartscapeServiceApi
    • Method Detail

      • getServices

        @Headers("Content-Type:application/json; charset=utf-8")
        @GET("entity/services")
        retrofit2.Call<List<Service>> getServices​(@Query("startTimestamp")
                                                  Long startTimestamp,
                                                  @Query("endTimestamp")
                                                  Long endTimestamp,
                                                  @Query("relativeTime")
                                                  String relativeTime,
                                                  @Query("tag")
                                                  List<String> tag,
                                                  @Query("entity")
                                                  List<String> entity)
        Lists all available services in your environment You can narrow down the output by specifying filtering parameters of the request.
        Parameters:
        startTimestamp - Start timestamp of the requested timeframe, in milliseconds (UTC). 72 hours from now is used if the value is not set. (optional)
        endTimestamp - End timestamp of the requested timeframe, in milliseconds (UTC). The current timestamp is used if the value is not set. (optional)
        relativeTime - Relative timeframe, back from now. (optional)
        tag - Filters the response by the specified tag. A service has to match ALL specified tags. (optional)
        entity - Filters the response to the specified services only. (optional)
        Returns:
        Call<List<Service>>
      • getSingleService

        @Headers("Content-Type:application/json; charset=utf-8")
        @GET("entity/services/{meIdentifier}")
        retrofit2.Call<Service> getSingleService​(@Path("meIdentifier")
                                                 String meIdentifier)
        Gets parameters of the specified service
        Parameters:
        meIdentifier - Dynatrace entity ID of the service you're inquiring. You can find it in the URL of the corresponding host page, for example, `SERVICE-007`. (required)
        Returns:
        Call<Service>