add: api to get current page.