Cloud CDN API, REST: Resource.GetProviderCName
Статья создана
Обновлена 8 августа 2025 г.
Get Provider's CNAME (edge endpoint) bind to specified folder id.
Returns UNIMPLEMENTED error, if provider doesn't support CNAME request.
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. |