The board of directors of the irrigation district shall file in the superior court of the county in which the lands of the district, or some portion thereof, are situated, a petition praying in effect, that the proceedings aforesaid may be examined, approved, and confirmed by the court. The petition shall state the facts, showing the proceedings had for the organization of said district or the proceedings had for the issue and sale of said bonds or for the issue and sale of said refunding bonds, or for the authorization of contract with the United States, or other contract described in said petition; and shall state generally that the irrigation district was duly organized, and that the first board of directors was duly elected; but the petition need not state the facts showing such organization of the district, or the election of said first board of directors.