Value of default settings in a project (getDefaultSettings)
getDefaultSettings — method introduces a list of default settings values in a project.
Request parameters | ||
Parameter | Value | Description |
id | any number or string | Request id |
method | getDefaultSettings | API method name |
params | {...} | Array of parameters |
Response parameters
Parameter
Description
id
Request id
result
Contains the answer
domain
Project domain
name
Project name
subdomainsCheck
Subdomains check
pagesLimit
Scan pages limit
scanSpeed
Scan speed
autoSpeed
Auto speed control
autoUserAgent
User Agent auto switch at unsuccessful server response
scanNoIndex
No-index pages scanning
scanWrongCanonical
Incorrect canonical pages scanning
scanDuration
Scan duration
folderDepth
Scan folder depth
urlDepth
URL depth
userAgent
User Agent
robotsTxt
Robots.txt regulations check
dontScanKeywordsBlock
Don’t scan pages with keywords in URL
onlyScanKeywordsBlock
Scan only pages with keywords in URL
baseAuthBlock
Access to websites shut down with BaseAuth
login
BaseAuth login
password
BaseAuth password
mailTriggerSettings
Trigger mail settings
emails
Array of emails trigger mail to be sent
interval
Interval of trigger mailing
enabled
Trigger mail enabling
scheduleSettings
Scan schedule settings
scheduleRepeatOption
Scan interval id
scanSetting
Scan type settings
type
Scan type mode id
list
Arrays of URL to be scanned
importedFilename
File name of previously imported URL
{
"id":1,
"method": "AuditSite.getDefaultSettings",
"params":{},
"jsonrpc": "2.0"
}
{
"id": "1",
"result": {
"mainSettings": {
"domain": "",
"name": "",
"subdomainsCheck": true,
"pagesLimit": 5000,
"scanSpeed": 200,
"autoSpeed": true,
"autoUserAgent": true,
"scanNoIndex":false,
"scanWrongCanonical":false,
"scanDuration": 0,
"folderDepth": 0,
"urlDepth": 0,
"userAgent": 0,
"robotsTxt": true
},
"dontScanKeywordsBlock": {
"checked": false,
"keywords": ""
},
"onlyScanKeywordsBlock": {
"checked": false,
"keywords": ""
},
"baseAuthBlock": {
"login": "",
"password": ""
},
"mailTriggerSettings": {
"emails": [],
"interval": 0,
"enabled": false
},
"scheduleSettings": {
"scheduleRepeatOption": 0
},
"scanSetting": {
"type": 1,
"list": [],
"importedFilename": null
}
},
"jsonrpc": "2.0"
}