@PUT @ApiIgnore // until documented
  @Path("{widgetLayoutId}")
  @Produces("text/plain")
  public Response updateService(String body, @Context HttpHeaders headers, @Context UriInfo ui,
                                @PathParam("widgetLayoutId") String widgetLayoutId) {

    return handleRequest(headers, body, ui, Request.Type.PUT, createResource(widgetLayoutId));
  }
Handles URL: /widget_layouts
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/WidgetLayoutService.java