api rework