Create VOD CDN Resource
Parameters | Description | Type | Required |
---|---|---|---|
organization_uuid | The created organization in Medianova Cloud Panel unit ID value. Path parameter. | String | Yes |
resource_type | It is the type of the resource created in Medianova Cloud Panel. It can be “small, large, dynamic, vod, streaming” values. | String | Yes |
resource_name | It is the name given to the resource created in the Medianova cloud panel. It must be unique. | String | Yes |
resource_label | Specifies the Resource. There is no character limit and special characters can be written. | String | No |
data_source | Determines the source of the resource. It can take “origin_mn_packager”. | String | Yes |
storage_path_directory | It describes stook path subfolder. | String | Yes |
storage_path_uuid | The created stook path in Medianova Cloud Panel unit ID value. Path parameter. | String | Yes |
resource_platform_type | It can be “cache, stream cache, store” values. | String | Yes |
Payload
{
"resource_type": "large",
"resource_name": "vodtest",
"resource_label": "",
"resource_platform_type": "stream_cache",
"data_source": "origin_mn_packager",
"storage_version": "v2",
"storage_path_uuid": "****-***-****-****",
"storage_path_directory": "vodtest"
}
Response
{
"status": true,
"data": {
"resource_uuid": "****-****-****-****",
"resource_type": "large",
"resource_name": "vodtest",
"cdn_url": "vodtest.mncdn.org",
"resource_label": null,
"ssl_certificate": "shared_ssl",
"created_at": "2023-12-11T10:25:18.000000Z",
"storage_version": "v2",
"storage_path_uuid": "****-****-*****-****",
"storage_path_directory": "vodtest",
"data_source": "origin_mn_packager",
"gzip_text": false,
"gzip_image": false,
"brotli": false,
"image_optimization": false,
"webp": true,
"avif": null,
"http2": true,
"status_qs": false,
"status_secure_token": false
}
}