fleshed out basic link endpoint