Implement missing getSelectedCollection server endpoint

Seems that this was missing for quite a while