@PUT @ApiIgnore // until documented
  @Path("{repoId}")
  @Produces("text/plain")
  public Response updateRepository(String body, @Context HttpHeaders headers, @Context UriInfo ui, @PathParam("repoId") String repoId) {
    return handleRequest(headers, body, ui, Request.Type.PUT, createResource(repoId));
  }
Updates a single repository.
Handles: PUT /repositories/{repoId} requests.

@param headers http headers
@param ui      uri info
@param repoId  repository id
@return information regarding the specified repository
ambari-server/src/main/java/org/apache/ambari/server/api/services/RepositoryService.java