Interface TopologySmartscapeApplicationApi


  • public interface TopologySmartscapeApplicationApi
    • Method Detail

      • getApplications

        @Headers("Content-Type:application/json; charset=utf-8")
        @GET("entity/applications")
        retrofit2.Call<List<Application>> getApplications​(@Query("startTimestamp")
                                                          Long startTimestamp,
                                                          @Query("endTimestamp")
                                                          Long endTimestamp,
                                                          @Query("relativeTime")
                                                          String relativeTime,
                                                          @Query("tag")
                                                          List<String> tag,
                                                          @Query("entity")
                                                          List<String> entity)
        Gets the list of all applications in your environment along with their parameters You can optionally specify timeframe, to filter the output only to applications, active in specified time.
        Parameters:
        startTimestamp - Start timestamp of the requested timeframe, in milliseconds (UTC). If no timeframe specified the 72 hours behind from now is used. (optional)
        endTimestamp - End timestamp of the requested timeframe, in milliseconds (UTC). If no timeframe specified then now is used. (optional)
        relativeTime - Relative timeframe, back from now. (optional)
        tag - Filters the resulting set of applications by the specified tag. An application has to match ALL specified tags. (optional)
        entity - Only return specified applications. (optional)
        Returns:
        Call<List<Application>>
      • getSingleApplication

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