Memperbarui cache berdasarkan tag cache yang Anda konfigurasi.
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 |
Nama domain yang dipercepat. |
example.com |
| CacheTag |
string |
Yes |
Tag cache. Pisahkan beberapa tag dengan koma (,). |
tag1,tag2 |
| Force |
boolean |
No |
Apakah akan mem-purge semua Sumber daya yang dikirimkan jika konten yang diminta adalah salah satu Sumber daya yang dikirimkan untuk purge. Nilai default: false.
|
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
2E5AD83F-BD7B-462E-8319-2E30E305519A |
| RefreshTaskId |
string |
The ID of the refresh task. If multiple tasks are returned, the task IDs are separated by commas (,). The task IDs are merged based on the following rules:
|
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.