Rest API for Node performance data

Hi Team,
Kindly help us with REST API details for Node performance data as we have a requirement to poll the performance data to visualize to other tools.

How to pass the resourceid and attribute info into web URL as there is no nodeID is mentioned into the URL part.

is there a way to retrieve all nodes perf data by the help of performance metric variable, kindly suggest.