v3 API//
- Get Browser Logs most common messages list for specified audit run
Get Browser Logs summary for specified audit run
Get Browser Logs trends relative to specified audit run
Get Browser Logs specific trend values relative to current time
Get Browser Logs page list for specified audit run
Get Browser Logs most com...
POST /v3/web-audits/{auditId}/runs/{runId}/reports/browser-logs/messages
Security
API_Key
Filters applicable to Browser Logs report
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.
POST
- specific
- range
curl -i -X POST \
'https://api.observepoint.com/v3/web-audits/107239/runs/33010/reports/browser-logs/messages?page=0&size=50&sortBy=level&sortDesc=false' \
-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,
"pageStatusCode": "good",
"tagId": 0,
"tagCategoryId": 0,
"tagVendorId": 0,
"level": "error",
"messageText": {
"filterType": "contains",
"filterValue": "string"
},
"anyRelatedTag": true
}'Response
{ "metadata": { "pagination": { … } }, "messages": [ { … } ] }