@POST @ApiIgnore // until documented
  @Path("{viewName}")
  @Produces(MediaType.TEXT_PLAIN)
  public Response createView(String body, @Context HttpHeaders headers, @Context UriInfo ui,
                                @PathParam("viewName") String viewName) {
    return handleRequest(headers, body, ui, Request.Type.POST, createViewResource(viewName));
  }
Handles: POST /views/{viewID}
Create a specific view.

@param headers    http headers
@param ui         uri info
@param viewName   view id

@return information regarding the created view
ambari-server/src/main/java/org/apache/ambari/server/api/services/views/ViewService.java