Get the URL of the domain's logo
This request is used for getting the URL of a previously uploaded domain logo.
Request syntax
The request should be sent over the HTTPS protocol using the GET method.
GET /api2/admin/domain/logo/check?
domain=<domain name>
Host: pddimp.yandex.ru
PddToken: <PDD token>
Headers:
Parameters:
Parameter | Type | Value |
---|---|---|
Mandatory | ||
domain | String | Name of the domain. |
Parameter | Type | Value |
---|---|---|
Mandatory | ||
domain | String | Name of the domain. |
GET /api2/registrar/domain/logo/check?
domain=<domain name>
Host: pddimp.yandex.ru
PddToken: <PDD token>
Authorization: OAuth <OAuth token>
Headers:
Name | Description |
---|---|
PddToken | |
Authorization |
Name | Description |
---|---|
PddToken | |
Authorization |
Parameters:
Parameter | Type | Value |
---|---|---|
Mandatory | ||
domain | String | Name of the domain. |
Parameter | Type | Value |
---|---|---|
Mandatory | ||
domain | String | Name of the domain. |
Request example
GET /api2/admin/domain/logo/check?domain=domain.com HTTP/1.1
Host: pddimp.yandex.ru
PddToken: 123456789ABCDEF0000000000000000000000000000000000000
curl -H 'PddToken: 123456789ABCDEF0000000000000000000000000000000000000' 'https://pddimp.yandex.ru/api2/admin/domain/logo/check?domain=domain.com'
GET /api2/admin/domain/logo/check?domain=domain.com HTTP/1.1
Host: pddimp.yandex.ru
PddToken: 123456789ABCDEF0000000000000000000000000000000000000
Authorization: OAuth 00123456789ABCDEF00000000000000000000000000000000000
curl -H 'PddToken: 123456789ABCDEF0000000000000000000000000000000000000' -H 'Authorization: OAuth 00123456789ABCDEF00000000000000000000000000000000000' 'https://pddimp.yandex.ru/api2/admin/domain/logo/check?domain=domain.com'
Response structure
Name | Type of value | Description |
---|---|---|
domain | String | Name of the domain. |
logo-url | String | URL of the domain's logo. For example, “https://avatars.yandex.net/get-for-domain/4f846c97c0d5ae95e2d42bf533853ae860044d27/b”. |
success | String | Status of request execution. Possible values:
|
error | String | Error code. Included in the response if the request resulted in an error. Possible values:
|
Name | Type of value | Description |
---|---|---|
domain | String | Name of the domain. |
logo-url | String | URL of the domain's logo. For example, “https://avatars.yandex.net/get-for-domain/4f846c97c0d5ae95e2d42bf533853ae860044d27/b”. |
success | String | Status of request execution. Possible values:
|
error | String | Error code. Included in the response if the request resulted in an error. Possible values:
|