Interface CustomXMLApi


  • public interface CustomXMLApi
    • Method Detail

      • listDashboards

        @Headers("Accept: text/xml")
        @GET("rest/management/dashboards")
        retrofit2.Call<DashboardList> listDashboards()
      • getXMLDashboard

        @Headers("Accept: text/xml")
        @GET("rest/management/dashboard/{dashboardId}")
        retrofit2.Call<de.tsystems.mms.apm.performancesignature.dynatrace.model.DashboardReport> getXMLDashboard​(@Path("dashboardId")
                                                                                                                 String dashboard,
                                                                                                                 @Query("source")
                                                                                                                 String source)
      • getServerLicense

        @GET("rest/management/server/license")
        retrofit2.Call<LicenseInformation> getServerLicense()
      • getAllAgents

        @Headers("Accept: text/xml")
        @GET("rest/management/agents")
        retrofit2.Call<AgentList> getAllAgents()
      • hotSensorPlacement

        @Headers("Accept: text/xml")
        @GET("rest/management/agents/{agentId}/hotsensorplacement")
        retrofit2.Call<XmlResult> hotSensorPlacement​(@Path("agentId")
                                                     int agentId)
      • createMemoryDump

        @Headers("Accept: text/xml")
        @FormUrlEncoded
        @POST("rest/management/profiles/{systemProfile}/memorydump")
        retrofit2.Call<XmlResult> createMemoryDump​(@Path("systemProfile")
                                                   String systemProfile,
                                                   @Field("agentName")
                                                   String agentName,
                                                   @Field("hostName")
                                                   String hostName,
                                                   @Field("processId")
                                                   int processId,
                                                   @Field("type")
                                                   String dumpType,
                                                   @Field("isSessionLocked")
                                                   boolean sessionLocked,
                                                   @Field("capturestrings")
                                                   boolean captureStrings,
                                                   @Field("captureprimitives")
                                                   boolean capturePrimitives,
                                                   @Field("autopostprocess")
                                                   boolean autoPostProcess,
                                                   @Field("dogc")
                                                   boolean doGC)
      • getMemoryDumpStatus

        @Headers("Accept: text/xml")
        @GET("rest/management/profiles/{systemProfile}/memorydumpcreated/{memorydumpId}")
        retrofit2.Call<XmlResult> getMemoryDumpStatus​(@Path("systemProfile")
                                                      String profileName,
                                                      @Path(value="memorydumpId",encoded=true)
                                                      String memoryDumpName)
      • createThreadDump

        @Headers("Accept: text/xml")
        @FormUrlEncoded
        @POST("rest/management/profiles/{systemProfile}/threaddump")
        retrofit2.Call<XmlResult> createThreadDump​(@Path("systemProfile")
                                                   String systemProfile,
                                                   @Field("agentName")
                                                   String agentName,
                                                   @Field("hostName")
                                                   String hostName,
                                                   @Field("processId")
                                                   int processId,
                                                   @Field("isSessionLocked")
                                                   boolean sessionLocked)
      • getThreadDumpStatus

        @Headers("Accept: text/xml")
        @GET("rest/management/profiles/{systemProfile}/threaddumpcreated/{threaddumpId}")
        retrofit2.Call<XmlResult> getThreadDumpStatus​(@Path("systemProfile")
                                                      String profileName,
                                                      @Path(value="threaddumpId",encoded=true)
                                                      String threadDumpName)
      • getPDFReport

        @Headers("Accept: application/octet-stream")
        @GET("rest/management/reports/create/{dashboardId}")
        retrofit2.Call<okhttp3.ResponseBody> getPDFReport​(@Path("dashboardId")
                                                          String dashboard,
                                                          @Query("source")
                                                          String sessionId,
                                                          @Query("compare")
                                                          String comparedSessionId,
                                                          @Query("type")
                                                          String type)