commented out fake rest api call for s3 compatibility, until rest api arrives