Skip to main content

Create Small 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” and “storage” values.

String

 Yes

 protocol

It determines the protocol of the entered origin_url. It can take “http” or “https” values.

String

 Yes

 origin_url

It is the URL information of the resource created in the Medianova Cloud panel.

String, URL

 Yes

Payload

CODE
{
    "resource_type": "small",
    "resource_name": "testresource",
    "resource_label": "",
    "data_source": "origin",
    "origin_url": "test.com",
    "protocol": "https"
}

Response

CODE
{
    "status": true,
    "data": {
        "resource_uuid": "***-****-****-****",
        "resource_type": "small",
        "resource_name": "testdocs",
        "cdn_url": "testdocs.mncdn.org",
        "resource_label": null,
        "ssl_certificate": "shared_ssl",
        "created_at": "2023-12-11T08:35:31.000000Z",
        "data_source": "origin",
        "protocol": "https",
        "origin_url": "test.com",
        "gzip_text": false,
        "gzip_image": false,
        "brotli": false,
        "image_optimization": false,
        "webp": true,
        "avif": null,
        "http2": true,
        "status_qs": false,
        "status_secure_token": false
    }
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.