Merefresh cache berdasarkan tag cache yang telah Anda konfigurasikan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:RefreshObjectCacheByCacheTag |
none |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The accelerated domain name. |
example.com |
| CacheTag |
string |
Yes |
Tag dari Cache. Jika terdapat multiple tag, tag tersebut dipisahkan dengan koma (,). |
tag1,tag2 |
| Force |
boolean |
No |
Menentukan apakah akan purge semua resource yang Anda kirimkan jika konten yang diminta merupakan salah satu resource yang Anda kirimkan untuk di-purge. Nilai default: false.
|
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
ID permintaan. |
2E5AD83F-BD7B-462E-8319-2E30E305519A |
| RefreshTaskId |
string |
ID task refresh. Jika terdapat multiple task, ID task dipisahkan dengan koma (,). ID task digabung berdasarkan aturan berikut:
|
17772470184 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2E5AD83F-BD7B-462E-8319-2E30E305519A",
"RefreshTaskId": "17772470184"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | SingleRequest.OverLimit | A maximum of 1000 URLs are supported for each request. | |
| 400 | InvalidObjectType.Malformed | The specified ObjectType is invalid. | |
| 400 | InvalidObjectPath.Malformed | The specified ObjectPath is invalid. | |
| 400 | InvalidObjectPath.Size.Malformed | The size of ObjectPath is bigger than 1000. | |
| 400 | QuotaExceeded.Refresh | You've exceeded the prescribed refresh limits. | |
| 400 | InvalidExtensiveDomain.ValueNotSupported | The specified ExtensiveDomain is not supported. | |
| 400 | QuotaPerMinuteExceeded.Refresh | You tried to refresh too frequently; please try again later. | |
| 400 | TooMany.Refresh | The refresh queue is full; please try again later. | |
| 400 | PreloadQueueFull | Preload queue is full, please try again later! | |
| 400 | InvalidStations.Malformed | The specified Stations is invalid. | |
| 400 | InvalidParameters | The parameters you provided are invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.