update test and APIV2, add resource_uri to link in candidate