Dataset assignments services and rest api.