class E2EServiceInstances {

    @POST
    @Path("/{version:[vV][3-5]}/{serviceId}/scale")
    @Consumes(MediaType.APPLICATION_JSON)
    @Produces(MediaType.APPLICATION_JSON)
    @Operation(description = "Scale E2E Service Instance on a specified version", responses = @ApiResponse(
            content = @Content(array = @ArraySchema(schema = @Schema(implementation = Response.class)))))
    public Response scaleE2EServiceInstance(String request, @PathParam("version") String version,
            @PathParam(SERVICE_ID) String serviceId) throws ApiException {

        logger.debug("------------------scale begin------------------");
        instanceIdMap.put(SERVICE_ID, serviceId);
        return scaleE2EserviceInstances(request, Action.scaleInstance, version);
    }

}