API deprecation and pagination

-