Package com.xebialabs.xlrelease.api.v1

# Interface ManagementApi

@Path("/api/v1/management") @Produces("application/json") @Consumes("application/json") public interface ManagementApi

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ApplicationStatusView`
  `applicationStatus()`
  `Datacenter`
  `createDatacenter(String datacenter)`
  `void`
  `deleteDatacenter(String datacenter)`
  `List<Datacenter>`
  `getDatacenters()`
  `void`
  `setDatacenterState(String datacenter, DatacenterTargetStateRequest datacenterTargetStateRequest)`
  `void`
  `start()`
  `void`
  `stop()`

- ## Method Details

  - ### stop

    @POST @Path("/services/stop") void stop()

  - ### start

    @POST @Path("/services/start") void start()

  - ### applicationStatus

    @GET @Path("/services/status") ApplicationStatusView applicationStatus()

  - ### getDatacenters

    @GET @Path("/datacenters") List<Datacenter> getDatacenters()

  - ### setDatacenterState

    @PUT @Path("/datacenters/{datacenter}/state") void setDatacenterState(@PathParam("datacenter") String datacenter, DatacenterTargetStateRequest datacenterTargetStateRequest)

  - ### createDatacenter

    @POST @Path("/datacenters/{datacenter}") Datacenter createDatacenter(@PathParam("datacenter") String datacenter)

  - ### deleteDatacenter

    @DELETE @Path("/datacenters/{datacenter}") void deleteDatacenter(@PathParam("datacenter") String datacenter)