- Get File Changes pages for specific file in specified audit run
Filters applicable to File Changes report
broken- initial or final URL arebroken,good- initial URL isgoodorredirectand final URL isgood
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.
Filters absolute difference values, e.g. when min = 200 then -300 diff passes filter. Should have min and/or max properties defined. min is inclusive, max is exclusive.
Filters absolute difference values, e.g. when min = 200 then -300 diff passes filter. Should have min and/or max properties defined. min is inclusive, max is exclusive.
- ObservePoint Production APIhttps://api.observepoint.com/v3/web-audits/{auditId}/runs/{runId}/reports/file-changes/file-pages
curl -i -X POST \
'https://api.observepoint.com/v3/web-audits/107239/runs/33010/reports/file-changes/file-pages?page=0&size=50&sortBy=page_url&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",
"dateDifference": {
"min": 1,
"max": 1
},
"sizeDifference": {
"min": 1,
"max": 1
},
"file": {
"filename": "main.js",
"requestDomain": "example.com",
"partyType": "1st_party",
"fileChangeType": "new_file",
"tagId": 0
},
"changeType": "new_file"
}'{ "metadata": { "pagination": { … } }, "pages": [ { … } ] }