added open_api_page function