Mengambil daftar log operasi berhalaman untuk instans tugas.
Deskripsi operasi
This API operation is available for all DataWorks editions.
Only operation logs generated within the previous 31 days can be queried.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
ID instans. |
1234 |
| Date |
integer |
No |
Tanggal operasi, tepat hingga hari. Nilai default adalah hari ini. Anda hanya dapat mengkueri log operasi yang dihasilkan dalam 31 hari sebelumnya. Nilai ini adalah Stempel waktu UNIX. |
1710239005403 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 10. |
10 |
| PageNumber |
integer |
No |
Nomor halaman. Halaman dimulai dari halaman 1. Nilai default: 1. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. You can locate logs and troubleshoot issues based on the ID. |
22C97E95-F023-56B5-8852-B1A77A17XXXX |
| PagingInfo |
object |
The pagination information. |
|
| OperationLogs |
array<object> |
The operation logs. |
|
|
object |
|||
| User |
string |
The account ID of the operator. |
1000 |
| CreateTime |
integer |
The time when the operation log was generated. |
1710239005403 |
| OperationSeq |
integer |
The serial number of the operation. |
1111 |
| OperationContent |
string |
The operation content. |
Freeze tasks |
| TaskInstanceId |
integer |
The ID of the instance on which the operation was performed. |
1234 |
| TotalCount |
integer |
The total number of entries returned. |
100 |
| PageSize |
integer |
The number of entries per page. |
10 |
| PageNumber |
integer |
The page number. |
1 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "22C97E95-F023-56B5-8852-B1A77A1****\n",
"PagingInfo": {
"OperationLogs": [
{
"User": "1000\n",
"CreateTime": 1710239005403,
"OperationSeq": 1111,
"OperationContent": "Freeze tasks",
"TaskInstanceId": 1234
}
],
"TotalCount": 100,
"PageSize": 10,
"PageNumber": 1
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.