VOD CDN

Updated at:

This document provides API call examples for the video-on-demand (VOD) CDN module of the Java SDK. The examples show how to prefetch content, refresh the cache, query the status and quotas for refresh and prefetch tasks, query traffic data and network bandwidth, and download domain name logs.

Usage notes

Initialization

You must initialize the client before use. For more information, see Initialization.

Prefetch cache

You can call the PreloadVodObjectCaches API to prefetch the cache.

Alibaba Cloud OpenAPI Portal URL: PreloadVodObjectCaches.

Refresh cache

You can call the RefreshVodObjectCaches API to refresh the cache.

Alibaba Cloud OpenAPI Portal URL: RefreshVodObjectCaches.

Query the status of refresh and prefetch tasks

You can call the DescribeVodRefreshTasks API to query the status of refresh and prefetch tasks.

Alibaba Cloud OpenAPI Portal URL: DescribeVodRefreshTasks.

Query refresh and prefetch quotas

You can call the DescribeVodRefreshQuota API to query the limits and remaining quotas for refresh and prefetch tasks.

Alibaba Cloud OpenAPI Portal URL: DescribeVodRefreshQuota.

Query traffic data

You can call the DescribeVodDomainTrafficData API to query traffic data.

Alibaba Cloud OpenAPI Portal URL: DescribeVodDomainTrafficData.

Query network bandwidth

You can call the DescribeVodDomainBpsData API to query network bandwidth.

Alibaba Cloud OpenAPI Portal URL: DescribeVodDomainBpsData.

Download domain name logs

You can call the DescribeVodDomainLog API to download domain name logs.

Alibaba Cloud OpenAPI Portal URL: DescribeVodDomainLog.