What operation is done for endometriosis?

Laparoscopy. Minimally invasive surgery resection of the disease is the standard surgery. A hysterectomy is not always necessary or even helpful.
Endo surgery. It can be diagnosed by either laparoscopy (belly-button) or laparotomy (open belly, ) and can also be treated (in principle) either way. The extent of the disease and the doctor's comfort level usually dictates this.