Getting the history of changes to the number of external links to the site
Returns the history of changes to the number of external links to the site.
Request format
GET https://api.webmaster.yandex.net/v3.2/user/{user-id}/hosts/{host-id}/links/external/history/?indicator={indicator}
Path parameters
Name | Required | Type | Default value | Description |
---|---|---|---|---|
user-id | Yes | int64 | User ID. Required when calling all Yandex.Webmaster API resources. To get it, use the GET /user method. | |
host-id | Yes | host id | The site ID. To get it, use the GET /user/{user-id}/hosts method. |
Name | Required | Type | Default value | Description |
---|---|---|---|---|
user-id | Yes | int64 | User ID. Required when calling all Yandex.Webmaster API resources. To get it, use the GET /user method. | |
host-id | Yes | host id | The site ID. To get it, use the GET /user/{user-id}/hosts method. |
Query parameters
Name | Required | Type | Default value | Description |
---|---|---|---|---|
indicator | Yes | APIExternalLinksIndicator | Indicates the number of external links. |
Name | Required | Type | Default value | Description |
---|---|---|---|---|
indicator | Yes | APIExternalLinksIndicator | Indicates the number of external links. |
Response format
Examples
{
"indicators": {
"LINKS_TOTAL_COUNT": [
{
"date": "2016-01-01T00:00:00,000+0300",
"value": 1
}
]
}
}
<Data>
<indicators>
<LINKS_TOTAL_COUNT>
<date>2016-01-01T00:00:00,000+0300</date>
<value>1</value>
</LINKS_TOTAL_COUNT>
</indicators>
</Data>
Name | Required | Type | Description |
---|---|---|---|
LINKS_TOTAL_COUNT | Yes | APIExternalLinksIndicator | Indicates the number of external links. |
date | Yes | Date | The date when the link was detected. |
value | Yes | string | The indicator value. |
Name | Required | Type | Description |
---|---|---|---|
LINKS_TOTAL_COUNT | Yes | APIExternalLinksIndicator | Indicates the number of external links. |
date | Yes | Date | The date when the link was detected. |
value | Yes | string | The indicator value. |
Indicators of external links (ApiExternalLinksIndicator)
Indicator | Description |
---|---|
LINKS_TOTAL_COUNT | The total number of known external links to the host. |
Indicator | Description |
---|---|
LINKS_TOTAL_COUNT | The total number of known external links to the host. |
Response codes
To view the response structure in detail, click the reason.
Code | Reason | Description |
---|---|---|
200 | OK | |
403 | The ID of the user who issued the token differs from the one specified in the request. In the examples below, | |
404 | HOST_NOT_VERIFIED | Site management rights are not verified. |
Code | Reason | Description |
---|---|---|
200 | OK | |
403 | The ID of the user who issued the token differs from the one specified in the request. In the examples below, | |
404 | HOST_NOT_VERIFIED | Site management rights are not verified. |