rest api initial