api end point to retrieve list of connections

this should be }, { I think