Cloud CDN API, REST: Resource.GetProviderCName
Статья создана
Обновлена 2 сентября 2025 г.
Deprecated: Provider-specific CNAME is now available in the provider_cname field of each Resource message.
HTTP request
GET https://cdn.api.cloud.yandex.net/cdn/v1/cname/{folderId}
Path parameters
|
Field |
Description |
|
folderId |
string Required field. Folder ID to get provider's CNAME. |
Response
HTTP Code: 200 - OK
{
"cname": "string",
"folderId": "string"
}
|
Field |
Description |
|
cname |
string Provider's CNAME. |
|
folderId |
string ID of the folder that the provider belongs to. |