dynamically fill out link prototypes based on registering endpoints