added v1 to api endpoint as per api spec