v3 API//
- Get Request Privacy locations for specified audit run
Get Request Privacy summary for specified audit run
Get Request Privacy trends relative to specified audit run
Get Request Privacy specific trend values relative to current day
Get Request Privacy compliance for specified audit run
Get Request Privacy pages data for specified audit run
Get Request Privacy pages data for specific request in specified audit run
Get Request Privacy locat...
POST /v3/web-audits/{auditId}/runs/{runId}/reports/request-privacy/locations
Security
API_Key
Filters applicable to Request Privacy report. countryCode filter is not abided by this endpoint.
broken- initial or final URL arebroken,good- initial URL isgoodorredirectand final URL isgood
Enum:"broken""good"
Page load time in milliseconds. Should have min and/or max properties defined. min is inclusive and max is exclusive. min should be less than max.
Page size in bytes. Should have min and/or max properties defined. min is inclusive and max is exclusive. min should be less than max.
Number of redirects for a page. Should have min and/or max properties defined. min is inclusive and max is exclusive. min should be less than max.
Use in filtering purposes is DEPRECATED in favour of ConsentCategoryId! Snapshot Id of consent category attached to this run
Example:33010
POST
- specific
- range
curl -i -X POST \
https://api.observepoint.com/v3/web-audits/107239/runs/33010/reports/request-privacy/locations \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"pageUrl": {
"filterType": "contains",
"filterValue": "string",
"negated": false
},
"finalPageUrl": {
"filterType": "contains",
"filterValue": "string",
"negated": false
},
"pageTitle": {
"filterType": "contains",
"filterValue": "ObserveP"
},
"initialPageStatusCode": {
"filterType": "specific",
"negated": true,
"filterValue": 0
},
"finalPageStatusCode": {
"filterType": "specific",
"negated": true,
"filterValue": 0
},
"combinedPageStatusCode": "broken",
"pageLoadTime": {
"min": 0,
"max": 0
},
"pageSize": {
"min": 0,
"max": 0
},
"redirectCount": {
"min": 0,
"max": 0
},
"hasBrokenLinks": true,
"requestDomain": "example.com",
"consentCategoryId": 3301,
"consentCategorySnapshotId": 33010,
"consentCategoryComplianceStatus": "approved",
"countryCode": "US"
}'Response
{ "locations": [ { … } ] }