Interface EnvironmentAPISpec


  • public interface EnvironmentAPISpec
    Created by shay-k on 21/06/2017.
    • Method Detail

      • deleteEnvironment

        @DELETE("api/spaces/{spaceName}/environments/{environmentId}")
        retrofit2.Call<Void> deleteEnvironment​(@Header("Authorization")
                                               String token,
                                               @Path("spaceName")
                                               String spaceName,
                                               @Path("environmentId")
                                               String environmentId)
      • getEnvironmentById

        @GET("api/spaces/{spaceName}/environments/{environmentId}")
        retrofit2.Call<EnvironmentResponse> getEnvironmentById​(@Header("Authorization")
                                                               String token,
                                                               @Path("spaceName")
                                                               String spaceName,
                                                               @Path("environmentId")
                                                               String environmentId)