api end point to retrieve list of connections

move the { up to the end of the previous line please