This describes the shape of the data that's required to display grouped requests in the Dashboard.

It should include trackers (blocked or not) along with third party requests - all under the requests key.

This type is left as an 'open object' deliberately for future extension

Please see the following JSON files as examples

Note: These JSON files are validated against the generated types here, so can/should be used as reliable references

interface RequestData {
    installedSurrogates?: string[];
    requests: DetectedRequest[];
}

Properties

installedSurrogates?: string[]

A optional list of domains that indicate if a surrogate has been used on it

requests: DetectedRequest[]

Requests that were detected as trackers - whether they were blocked or not