api end point to retrieve list of connections

and another move back so it's just 4 spaces in from the previous line.