[ Version ( since = "2.0.0" ) ]
public string build_report_history (GenericArray<Device> devices, Remote? remote, HashTable<string,string> metadata) throws Error
Builds a JSON report for the list of devices.
This function should be called *before* asking the interactive user if they want to upload a report -- as this function filters devices and may return an error if there is nothing to do.
You must have called [method@Client.connect_async] on this before using this method.
| this |
a Client |
| devices |
devices |
| remote |
optional Remote |
| metadata |
attributes |
|
a string, or null on error |