api page layout prep