The endpoint parameter handling figures out which pagination style you've asked for and validates the parameters accordingly.