@ApiResponse(code=400,message="Invalid ID supplied")
,
@ApiResponse(code=404,message="ToscaTemplate not found")})
@RequestMapping(value="/tosca_template/{id}",
method=RequestMethod.DELETE)
ResponseEntity<String>deleteToscaTemplateByID(@ApiParam(value="ID of topolog template to return",required=true)@PathVariable("id")Stringid);
method=RequestMethod.DELETE)
ResponseEntity<String>deleteToscaTemplateByID(@ApiParam(value="ID of topolog template to return",required=true)@PathVariable("id")Stringid);
@ApiOperation(value="Find topolog template by ID",nickname="getToscaTemplateByID",notes="Returns a single topolog template",response=String.class,authorizations={
@Authorization(value="drip_auth",scopes={
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template"),
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template")
,
@AuthorizationScope(scope="write:ToscaTemplate",description="modify topolog template in your account")
@ApiResponse(code=400,message="Invalid ID supplied")
,
@ApiResponse(code=404,message="ToscaTemplate not found")
,
@ApiResponse(code=405,message="Invalid input")})
@RequestMapping(value="/tosca_template/{id}",
produces={"text/plain"},
consumes={"multipart/form-data"},
method=RequestMethod.PUT)
ResponseEntity<String>updateToscaTemplateByID(@ApiParam(value="ID of topolog template to return",required=true)@PathVariable("id")Stringid,@ApiParam(value="file detail")@Valid@RequestPart("file")MultipartFilefile);
produces={"text/plain"},
consumes={"multipart/form-data"},
method=RequestMethod.PUT)
ResponseEntity<String>updateToscaTemplateByID(@ApiParam(value="ID of topolog template to return",required=true)@PathVariable("id")Stringid,@ApiParam(value="file detail")@Valid@RequestPart("file")MultipartFilefile);
@ApiOperation(value="upload a tosca template description file",nickname="uploadToscaTemplate",notes="",response=String.class,authorizations={
@Authorization(value="drip_auth",scopes={
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template"),
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template")
,
@AuthorizationScope(scope="write:ToscaTemplate",description="modify topolog template in your account")
@ApiOperation(value="Get all topolog template IDs",nickname="getToscaTemplateIDs",notes="Returns all IDss ",response=String.class,responseContainer="List",authorizations={
@Authorization(value="drip_auth",scopes={
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template")
,
@AuthorizationScope(scope="write:ToscaTemplate",description="modify topolog template in your account")