IssueCollection for the current activeEditor

Is there an API, to get all the Issue Objects listed in the issue sidebar for all the open TextEditors or the current active text editor/document?

Basically I am trying to capture and process the issues that are listed by the LSP in the Issues Sidebar.