Brush a baking sheet with oil, as well as the legs. Sprinkle the legs with a mixture of salt, pepper, sweet paprika and rosemary needles.
Pre-bake in a preheated 225 degree oven with circulating air for approx. 10 minutes.
Peel and halve the potatoes, peel and quarter the onions, brush with oil and sprinkle with the spices (chop the rosemary needles a bit). Cut 1 lime into thin slices.
Add everything to the chicken legs. Possibly sprinkle everything with the frying liquid in between.