enumerateendpoints
