@POST
  @Produces(MediaType.TEXT_PLAIN)
  @ApiOperation(value = "Create new configurations")
  @ApiImplicitParams({
    @ApiImplicitParam(dataType = CONFIGURATION_REQUEST_TYPE, paramType = PARAM_TYPE_BODY,  allowMultiple = true)
  })
  @ApiResponses(value = {
    @ApiResponse(code = HttpStatus.SC_CREATED, message = MSG_SUCCESSFUL_OPERATION),
    @ApiResponse(code = HttpStatus.SC_ACCEPTED, message = MSG_REQUEST_ACCEPTED),
    @ApiResponse(code = HttpStatus.SC_BAD_REQUEST, message = MSG_INVALID_ARGUMENTS),
    @ApiResponse(code = HttpStatus.SC_NOT_FOUND, message = MSG_CLUSTER_NOT_FOUND),
    @ApiResponse(code = HttpStatus.SC_UNAUTHORIZED, message = MSG_NOT_AUTHENTICATED),
    @ApiResponse(code = HttpStatus.SC_FORBIDDEN, message = MSG_PERMISSION_DENIED),
    @ApiResponse(code = HttpStatus.SC_INTERNAL_SERVER_ERROR, message = MSG_SERVER_ERROR),
  })
  public Response createConfigurations(String body,@Context HttpHeaders headers, @Context UriInfo ui) {

    return handleRequest(headers, body, ui, Request.Type.POST, createConfigurationResource(m_clusterName));
  }
Handles URL: /clusters/{clusterId}/configurations
The body should contain:
<pre>
{
    "type":"type_string",
    "tag":"version_tag",
    "properties":
    {
        "key1":"value1",
        // ...
        "keyN":"valueN"
    }
}
</pre>

To create multiple configurations is a request, provide an array of configuration properties.

@param headers http headers
@param ui      uri info
@return status code only, 201 if successful
ambari-server/src/main/java/org/apache/ambari/server/api/services/ConfigurationService.java