@POST @ApiIgnore // until documented
   @Produces("text/plain")
   public Response createRepositoryVersion(String body, @Context HttpHeaders headers, @Context UriInfo ui) {
    return handleRequest(headers, body, ui, Request.Type.POST, createResource(null));
  }
Creates a repository version.
Handles: POST /repository_versions requests.

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