v3 API//
- Create a new site census
Get all censuses for an account
Get a site census by ID
Update an existing site census
Delete a site census by ID
Returns a summary of the current census results data
Browse a host's folder tree, list every host's root, or search folders and pages across the census -- each returned folder carrying a preview of its direct URLs
Returns the rolled-up counts for a single site-census folder
Returns the URLs sitting directly in a site-census folder
Returns a preview of the current census results data given specific path patterns
Starts data-collection for a given census
Stops data-collection for a given census
Find site censuses
Create a new site census
POST /v3/site-censuses
Security
API_Key
Create a new site census
The date and time when the current scan session started.
Target email addresses for notification when this census auto-pauses or runs out of URLs.
List of custom HTTP header groups assigned to this site census.
Default:[]
The list of starting URLs for the Site Census.
POST
curl -i -X POST \
https://api.observepoint.com/v3/site-censuses \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"accountId": 0,
"name": "string",
"autoPauseAfter": 1,
"ownerId": 0,
"currentScanStartedAt": "2019-08-24T14:15:22Z",
"lastScanStoppedAt": "2019-08-24T14:15:22Z",
"notificationEmails": [
"user@example.com"
],
"userAgentId": 122,
"customHttpHeaders": [],
"startingUrls": [
"http://example.com"
],
"filterPatterns": [
{
"pathPattern": "string",
"fqdn": "string",
"type": "PRIORITY"
}
]
}'Successful operation, resource created
The date and time when the current scan session started.
Target email addresses for notification when this census auto-pauses or runs out of URLs.
List of custom HTTP header groups assigned to this site census.
Default:[]
The list of starting URLs for the Site Census.
Response
{ "id": 0, "accountId": 0, "name": "string", "autoPauseAfter": 1, "ownerId": 0, "currentScanStartedAt": "2019-08-24T14:15:22Z", "lastScanStoppedAt": "2019-08-24T14:15:22Z", "notificationEmails": [ "user@example.com" ], "userAgentId": 122, "customHttpHeaders": [], "startingUrls": [ "http://example.com" ], "filterPatterns": [ { … } ], "isArchived": true }