Update the file content on the node.

  • Update the cache node with the specified URL content, URL can be updated in batches.
  • Support post request, and the form is used for parameters.
  • For a single ID, a daily maximum of cache push and refresh requests which can be submitted are as follows:
    • URLs: 2,000.
    • Directories: 100.
  • Cache refresh and push interfaces include the RefreshObjectCaches and PushObjectCache .

Request Parameters

Parameters Type Required Example values Description
Action String Yes RefreshObjectCaches

The name of this interface. Value: 


ObjectPath String Yes abc.com/image/1.png

Input example: abc.com/image/1.png, multiple URLs are required to be separated by line break (\n or \r\n).

ObjectType String No File

Optional, the refresh type. The value can be File or Directory.

Default value: File.

Return Parameters

Parameters Type Example values Description
Refreshtaskid String 704222904

Refresh returned task ID, multiple task IDs are separated by comma (Half angle).

RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8

The ID of the request.


Request example

https://cdn.aliyuncs.com?&Action=RefreshObjectCaches&ObjectPath=test.test.com/test.txt&ObjectType=File&Public request parameter
Normal return example
  • JSON format

Exception return example
  • JSON format

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