@POST @ApiIgnore // until documented
  @Produces("text/plain")
  public Response createServices(String body, @Context HttpHeaders headers, @Context UriInfo ui) {

    return handleRequest(headers, body, ui, Request.Type.POST,
            createResource(null));
  }
Handles URL: /widget
Get all instances for a view.

@param headers  http headers
@param ui       uri info

@return instance collection resource representation
ambari-server/src/main/java/org/apache/ambari/server/api/services/WidgetService.java