History of project changes by issues categories
AuditSite.getHistoryByCountError — this method shows the number of changed errors and information messages by a specific issues category in every report of a project.
Use case: With the AuditSite.getHistoryByCountError, track how many issues you fixed over time.
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, 1, test |
method | API method name | string | no |
| AuditSite.getHistoryByCountError |
params | The object with parameters {...}, it lists all the following parameters and arrays [...] | no |
|
| |
projectId | Audit project id | int | no | 1251109 (any project ID number) | |
errorName | Check name | string | no | name of the error type you need to check. To see all the error types, please refer to the AuditSite.getReportWithoutDetails method | |
limit | Limit of chosen data | int | yes | 30 | 3, from 1 to 999 |
offset | A page number (number value) | int | yes | 0 | 2 (any offset value you need) |
Response parameters | |
Parameters | Description |
id | Response id corresponds the request id |
result | Contains the answer |
errorCounts | Issue data |
reportId | Report id in which a fixed error or information message was found |
date | Report date |
count | Number of errors or information messages by specific issue category |
Credits for this method are not deducted.
{
"id": 1,
"method":"AuditSite.getHistoryByCountError",
"params":{
"projectId": 123456,
"errorName": "h1_missing",
"offset": 0,
"limit": 10
}
}
{
"id": "1",
"result": {
"errorCounts": [
{
"reportId": "4246576",
"date": "2021-07-19 16:55:21",
"count": "0"
},
{
"reportId": "4246562",
"date": "2021-07-19 16:31:10",
"count": "0"
},
{
"reportId": "4220256",
"date": "2021-07-14 16:20:24",
"count": "0"
},