Newman, differents between postman link and api collection uid

Hi. I connected my git repo with Travis CI, and in .travis.yml file I used:
Everything works fine but i want to know what differents are between using postman link and link like:
Results are the same but in what case i should use 1st method and when 2nd?

Thanks for help