Active storage Object link in controller

How can i get Active storage object link , in my controller . So that i can send it as json reponse for an api.