@Path(value="deploy/version") @Consumes(value="application/json") @Produces(value="application/json") @Singleton public class DeploymentVersionResource extends Object
Constructor and Description |
---|
DeploymentVersionResource(DeploymentVersionService deploymentVersionService) |
Modifier and Type | Method and Description |
---|---|
RestDeploymentVersionStatus |
getLatestVersionStatus(String deploymentVersionId) |
RestDeploymentVersionStatus |
updateVersionStatus(String deploymentVersionId,
String state,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) |
public DeploymentVersionResource(DeploymentVersionService deploymentVersionService)
@GET @Path(value="{id}/status") public RestDeploymentVersionStatus getLatestVersionStatus(@PathParam(value="id") String deploymentVersionId)
@POST @Path(value="{id}/status/{state}") public RestDeploymentVersionStatus updateVersionStatus(@PathParam(value="id") String deploymentVersionId, @PathParam(value="state") String state, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.