[api] some pagination standardization