progress on rest api