@POST @ApiIgnore // until documented
  @Produces(MediaType.TEXT_PLAIN)
  public Response createVersion(String body, @Context HttpHeaders headers, @Context UriInfo ui) {
    return handleRequest(headers, body, ui, Request.Type.POST,
        createResource(null));
  }
Handles ANY /{versionNumber}/operating_systems requests.

@param versionNumber the repository version id, whether it be from the DB or available.
@return operating systems service
ambari-server/src/main/java/org/apache/ambari/server/api/services/VersionDefinitionService.java