List of carried out audits

getList — method provides you with a list of audits carried out by project id. This list can be found in the project Audit summary report.

Request parameters
Parameters Value Description
id any number or string A request id: the response contains the same id. Enter any number (number) or text (string) value
method getList API method nam
params {...} / [...] The object with parameters {...}, it lists all the following parameters and arrays [...]
projectId (important) number
Audit project id
limit (important) number
Limit of chosen data
offset (important) number
A page number (number value)

Response parameters
Parameters Description
id Response id corresponds the request id
result Contains the answer
data Array with data 
reportId Report id
date
Date
sdo
Serpstat Domain Optimization score
pagesLimit What scan limit was set
pagesScanned Number of checked pages (charged limits)
criticalCount Number of critical errors
nonCriticalCount Number of non-critical errors
virusesCount Number of pages with viruses
progress
Audit progress, if the audit is over then the value is 100
stoped
false- ended on its own;
true- ыtopped by user.

 

Reports are set in order from the newest to the latest: recently carried out audit tops the list.
Credits for this method are not deducted.

Example
Request data:
{
     "id":1,
 "method": "AuditSite.getList",
 "params":{
  "projectId":123456,
  "limit":3,
  "offset":0

    }
}
Response data:
{
    "id": "1",
    "result": [
        {
            "reportId": 4186494,
            "date": "2021-07-08 13:11:34",
            "sdo": 89,
            "pagesLimit": 5000,
            "pagesScanned": 651,
            "criticalCount": 41,
            "nonCriticalCount": 2117,
            "virusesCount": 0,
            "progress": 100,
            "stoped": false
        },
        {
            "reportId": 4186452,
            "date": "2021-07-08 11:59:21",
            "sdo": 89,
            "pagesLimit": 5000,
            "pagesScanned": 652,
            "criticalCount": 40,
            "nonCriticalCount": 2126,
            "virusesCount": 0,
            "progress": 100,
            "stoped": false
        },
        {
            "reportId": 4186450,
            "date": "2021-07-08 11:56:36",
            "sdo": 96,
            "pagesLimit": 5000,
            "pagesScanned": 0,
            "criticalCount": 1,
            "nonCriticalCount": 11,
            "virusesCount": 0,
            "progress": 100,
            "stoped": true
        }
    ]
}

Share this article with your friends

Are you sure?

Introducing Serpstat

Find out about the main features of the service in a convenient way for you!

Please send a request, and our specialist will offer you education options: a personal demonstration, a trial period, or materials for self-study and increasing expertise — everything for a comfortable start to work with Serpstat.

Name

Email

Phone

We are glad of your comment
I agree to Serpstat`s Privacy Policy.

Thank you, we have saved your new mailing settings.

Open support chat