Report issues list
AuditSite.getReportWithoutDetails — this method returns the number of errors and information messages found by issues categories in a specific report.
Use case: With the AuditSite.getReportWithoutDetails method, check how many errors you have already fixed and how many errors are left to fix.
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. | int/string | no |
| Text or number value |
method | API method name | string | no |
| AuditSite.getReportWithoutDetails |
params | The object with parameters {...}, it lists all the following parameters and arrays [...] | no |
|
| |
reportId | Audit report id | int | no | 1251109 (any report ID number) | |
compareReportId | Audit report id for comparison | int | yes | null | 8630677 (any report ID number) |
Response parameters | |
Parameters | Description |
id | Response id corresponds the request id |
result | Contains the answer |
categories | Array of issue categories |
key | Issue category name |
errors | Array of errors and information messages within a specific category |
priority | Issue priority
|
countAll | Number of errors found or information messages |
countNew | Number of new errors found or information messages |
countFixed | Number of fixed errors or information messages |
{
"id": 1,
"method":"AuditSite.getReportWithoutDetails",
"params":{
"reportId": 1,
"compareReportId": 2
}
}
{
"id": "1",
"result": {
"categories": [
{
"key": "pages_status",
"errors": [
{
"key": "errors_400",
"priority": "high",
"countAll": 0,
"countNew": 0,
"countFixed": 9
},
{
"key": "errors_500",
"priority": "high",
"countAll": 0,
"countNew": 0,
"countFixed": 0
}
]
}