Value of default settings in a project
AuditSite.getDefaultSettings — method introduces a list of default settings values in a project.
Use case: use the AuditSite.getDefaultSettings method to check the project's default settings.
General request parameters and instructions for using Serpstat API.
Request parameters | |||||
Parameter | Description | Type | Optional | Default value | Value Options |
id | A request id: the response contains the same id. Enter any number (number) or text (string) value | int/string | no |
| Text or number value |
method | API method name | string | no |
| AuditSite.getDefaultSettings |
params | The object with parameters {...}, it lists all the following parameters and arrays [...] | no | {...} / [...] |
|
Response parameters | |
Parameter | Description |
id | Response id corresponds the 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 |
errorsSettings | Advanced settings |
tiny_title | The minimum number of characters in title |
long_title | The maximum number of characters in title |
tiny_desc | The minimum number of characters in the description |
long_desc | The maximum number of characters in the description |
long_url | URL is too long |
large_image_size | |
large_page_size | Page size is too large |
many_external_links | Too many external links |
Credits for this method are not deducted.
{
"id":1,
"method": "AuditSite.getDefaultSettings",
"params":{}
}
{
"id": "1",
"result": {
"mainSettings": {
"domain": "",
"name": "",
"subdomainsCheck": true,
"pagesLimit": 5000,
"scanSpeed": 3,
"autoSpeed": true,
"scanNoIndex": false,
"scanWrongCanonical": true,
"autoUserAgent": true,
"scanDuration": 6,
"folderDepth": 0,
"urlDepth": 10,
"userAgent": 0,
"robotsTxt": true,
"withImages": true
},
"dontScanKeywordsBlock": {
"checked": false,
"keywords": ""
},
"onlyScanKeywordsBlock": {
"checked": false,
"keywords": ""
},
"baseAuthBlock": {
"login": "",
"password": ""
},
"mailTriggerSettings": {
"emails": [],
"interval": 7,
"enabled": true,
"enableExportAfterFinish": true
},
"scheduleSettings": {
"scheduleRepeatOption": 3
},
"scanSetting": {
"type": 1,
"list": []
},
"errorsSettings": {
"tiny_title": 10,
"long_title": 70,
"tiny_desc": 100,
"long_desc": 160,
"long_url": 1024,
"large_image_size": 100,
"large_page_size": 2,
"many_external_links": 500
}
}
}