add rest_api to pythonpath