api end point to retrieve list of connections

and move this back so that it's just 4 spaces in from the parent line