Mencantumkan status eksekusi dan informasi waktu proses tugas unggah file berdasarkan waktu dan tipe.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
No |
ID situs. Anda dapat memperoleh nilai ini dengan memanggil operasi ListSites. Penting Parameter ini wajib diisi saat Anda memanggil operasi ListUploadTasks. |
123456**** |
| StartTime |
string |
No |
Waktu mulai dalam format ISO 8601 (misalnya, 2024-01-01T00:00:00+Z). Penting StartTime dan EndTime harus diberikan bersama untuk menentukan jendela waktu kueri. Error akan dikembalikan jika salah satu tidak ada. |
2018-11-29T00:00:00Z |
| EndTime |
string |
No |
Waktu akhir dalam format ISO 8601 (misalnya, 2024-01-01T00:00:00+Z). Penting StartTime dan EndTime harus diberikan bersama untuk menentukan jendela waktu kueri. Error akan dikembalikan jika salah satu tidak ada. |
2019-12-06T12:00:00Z |
| Type |
string |
No |
Tipe tugas. Nilai valid:
|
file |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Tanggapan. |
||
| RequestId |
string |
ID permintaan. |
CB1A380B-09F0-41BB-A198-72F8FD6D**** |
| Tasks |
array<object> |
Daftar tugas unggah file. |
|
|
object |
|||
| UploadTaskName |
string |
Nama tugas unggah file. |
purge_file_task |
| UploadId |
string |
ID tugas unggah file. |
159253299357**** |
| CreateTime |
string |
Waktu pembuatan dalam format ISO 8601 (misalnya, 2024-01-01T00:00:00+Z). |
2023-07-26T01:56:15Z |
| Status |
string |
Status tugas. Nilai valid:
|
Complete |
| Type |
string |
Tipe tugas. Nilai valid:
|
file |
| Description |
string |
Paket error yang dikembalikan ketika tugas unggah file gagal. |
invalid url |
| ErrorCode |
string |
Kode kesalahan. Beberapa kode kesalahan dipisahkan dengan koma. Nilai valid:
|
InvalidUrl,InvalidDomain |
Contoh
Respons sukses
JSONformat
{
"RequestId": "CB1A380B-09F0-41BB-A198-72F8FD6D****",
"Tasks": [
{
"UploadTaskName": "purge_file_task",
"UploadId": "159253299357****",
"CreateTime": "2023-07-26T01:56:15Z",
"Status": "Complete",
"Type": "file",
"Description": "invalid url",
"ErrorCode": "InvalidUrl,InvalidDomain"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingTimeParameter | The StartTime and EndTime must be both specified. | Please provide both a start time and an end time. |
| 400 | InvalidEndTime.Mismatch | The specified EndTime is earlier than the StartTime. | The end time you entered is earlier than the start time. Please check and try again. |
| 400 | DomainNameOverLimit | A maximum of 500 domains are supported for each request. | Only 500 domain names are supported at a time. Please reduce the number of domain names to request again. |
| 400 | InvalidTime | The query time cannot exceed the last 3 days. | The query time cannot exceed the last 3 days. |
| 400 | MissingParameter.ObjectType | The ObjectType parameter is required if DomainName or ObjectType is specified. | Specify the ObjectType parameter. |
| 400 | InvalidStationParameter | The specified Station is invalid. | The specified node parameter is invalid. |
| 400 | TooManyRequests | Too many requests.Please try again later. | Requests are too frequent, please try again later. |
| 400 | InvalidTaskId.Malformed | The specified taskId is invalid. | The specified task ID is invalid. |
| 400 | InvalidParameters.InvalidUrls | The specified urls are invalid. | The requested URL parameter is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.