Rest API query for Baseline

Hi Team,
I am trying to get applicable patches with computer name for a baseline available in console. Currently i am using below mentioned query for Applicable Computer Name, ID , Patch ID, Patch Name and Severity. The requirement is how we can get the output as (Baseline Name, Computer Name, All applicable Patches with ID and Severity)? Please help.

(name of it, id of it ) of applicable computers of bes fixlets whose (baseline flag of it and name of it as lowercase starts with “Baseline Name”),(id of it, name of it,Source Severity of it) of source fixlets whose (exists applicable computers of it) of components of component groups of fixlets whose (baseline flag of it) of bes custom site whose (name of it = “Custome_Site”)