Set file expiration configuration.

Request parameters

Parameters Type  Required Example values Description
Action String Yes SetFileCacheExpiredConfig The name of this interface. Value: SetFileCacheExpiredConfig
CacheContentCachecontent String Yes. jpg, png Filename suffixes, which are separated by commas (,).
DomainName String Yes. Your CDN domain name.
TTL. String Yes. 600

Cache time configuation. 

Unit: seconds

Weight String No 22

Weight of the configuration. 

Value range: 1-99. A greater value indicates a higher priority. 

Default value: 1

Return parameters

Parameters Type Example values Description
RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 The ID of the request.


Request example
&public request parameter
Normal return example
  • JSON format

Exception return example
  • JSON format

        "Message":"The request processing has failed due to some unknown error.",