move api doc to api dir