Cloud CDN API, REST: Resource.getProviderCName
Статья создана
Обновлена 26 мая 2023 г.
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
Parameter | Description |
---|---|
folderId | Required. Folder ID to get provider's CNAME. The maximum string length in characters is 50. |
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. |