specs for rest_api done