Get a drill-down view
Opens up one row of a breakdown. Pass the row's key and get the detail behind it, ranked the same way. Rows here carry their own key, so views can chain.
Views by report type: csp-violation has detail (the exact pages and blocked URLs). csp-hash has scripts (scripts served by an origin), pages (pages that load a script), and hashes (the hashes a script has had). integrity-violation has detail. An unknown view returns 404.
Requires the viewer role on the website and the report type's plan feature.
An OpenID Connect access token issued by Keycloak, acting as the signed-in user.
In: header
Path Parameters
Query Parameters
The key of the row you are drilling into. Without it the view covers the whole website.
How far back to look, counted from now. Reports are kept for 90 days, so 90d is the widest range available.
"7d"Match part of a URL or value in the row.
length <= 4096The nextCursor of the previous page.
How many rows to return, from 1 to 200.
1 <= value <= 20050Response Body
application/json
curl -X GET "https://api-next.centralcsp.com/v1/workspaces/string/websites/string/reports/string/views/string?range=7d&limit=50"{ "data": [ { "key": "string", "dimensions": {}, "collected": {}, "attributes": {}, "count": 0, "firstSeen": "2019-08-24T14:15:22Z", "lastSeen": "2019-08-24T14:15:22Z" } ], "pagination": { "nextCursor": "string", "hasMore": true, "total": 0 }}