Using Share API for non file shares possible?


I am developing a small app where I want to give the users the ability to gain access to the app by creating a link like the files share link. Is it possible to create shares by using the NC API to create the share link and routing the visitors with this link to the public page of the app?

Thx for hints!