All Products
Search
Document Center

:ListTopics

Last Updated:Jun 11, 2026

Mengkueri event.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

BeginTime

string

Yes

Awal rentang pengatur waktu untuk kueri. Tentukan pengatur waktu dalam standar ISO 8601 dengan format yyyy-MM-dd'T'HH:mm:ssZ. Pengatur waktu harus dalam UTC.

2019-03-24T00:00:00+0800

EndTime

string

Yes

Akhir rentang pengatur waktu untuk kueri. Tentukan pengatur waktu dalam standar ISO 8601 dengan format yyyy-MM-dd'T'HH:mm:ssZ. Pengatur waktu harus dalam UTC.

2019-03-25T23:00:00+0800

TopicTypes

string

No

Tipe event. Nilai valid: SLOW dan ERROR. Nilai SLOW menunjukkan bahwa durasi berjalan node dalam siklus penjadwalan saat ini secara signifikan lebih lama daripada durasi berjalan rata-rata node dalam siklus penjadwalan sebelumnya. Nilai ERROR menunjukkan bahwa node gagal berjalan. Anda dapat menentukan beberapa tipe. Pisahkan dengan koma (,).

ERROR,SLOW

TopicStatuses

string

No

Status event. Nilai valid: IGNORE, NEW, FIXING, dan RECOVER. Nilai IGNORE menunjukkan bahwa event diabaikan. Nilai NEW menunjukkan bahwa event merupakan event baru. Nilai FIXING menunjukkan bahwa event sedang diproses. Nilai RECOVER menunjukkan bahwa event telah diproses. Anda dapat menentukan beberapa status. Pisahkan dengan koma (,).

IGNORE,NEW,FIXING,RECOVER

NodeId

integer

No

ID node yang memicu event. Anda dapat mengonfigurasi parameter ini atau parameter InstanceId.

1234

InstanceId

integer

No

ID instans node yang memicu event. Anda dapat mengonfigurasi parameter ini atau parameter NodeId.

12345

Owner

string

No

ID akun Alibaba Cloud yang digunakan oleh Pemilik event.

952795****

PageNumber

integer

Yes

Nomor halaman yang akan dikembalikan. Nilai valid: 1 hingga 30. Nilai default: 1.

1

PageSize

integer

Yes

Jumlah entri yang akan dikembalikan pada setiap halaman. Nilai default: 10. Nilai maksimum: 100.

10

Elemen respons

Element

Type

Description

Example

object

HttpStatusCode

integer

The HTTP status code returned.

200

RequestId

string

The ID of the request. You can use the ID to troubleshoot issues.

0000-ABCD-EFG****

ErrorMessage

string

The error message returned.

The specified parameters are invalid.

ErrorCode

string

The error code returned.

1031203110005

Success

boolean

Indicates whether the request was successful.

true

Data

object

The information about the events returned.

PageNumber

integer

The page number of the returned page.

1

PageSize

integer

The number of entries returned per page.

10

TotalCount

integer

The total number of the events returned.

100

Topics

array<object>

The events returned.

object

TopicName

string

The name of the event.

1234 Error

ProjectId

integer

The ID of the workspace to which the node belongs.

1234

NodeOwner

string

The ID of the Alibaba Cloud account that is used by the node owner.

952795****

InstanceId

integer

The ID of the node instance that triggers the event.

12345

FixTime

integer

The timestamp when the event was processed.

1553508465000

TopicType

string

The type of the event. Valid values: SLOW and ERROR. The value SLOW indicates that the running duration of the node in the current scheduling cycle is significantly longer than the average running duration of the node in previous scheduling cycles. The value ERROR indicates that the node fails to run.

ERROR

TopicStatus

string

The status of the event. Valid values: IGNORE, NEW, FIXING, and RECOVER. The value IGNORE indicates that the event is ignored. The value NEW indicates that the event is a new event. The value FIXING indicates that the event is being processed. The value RECOVER indicates that the event is processed.

NEW

HappenTime

integer

The timestamp when the event occurred. A time difference may exist between the time when the event occurred and the time when the event was found.

1553508465000

NodeName

string

The name of the node.

Node Name

TopicId

integer

The ID of the event.

1234

AddTime

integer

The timestamp when the event was found.

1553524393000

NodeId

integer

The ID of the node that triggers the event.

1234

Contoh

Respons sukses

JSONformat

{
  "HttpStatusCode": 200,
  "RequestId": "0000-ABCD-EFG****",
  "ErrorMessage": "The specified parameters are invalid.",
  "ErrorCode": "1031203110005",
  "Success": true,
  "Data": {
    "PageNumber": 1,
    "PageSize": 10,
    "TotalCount": 100,
    "Topics": [
      {
        "TopicName": "1234出错",
        "ProjectId": 1234,
        "NodeOwner": "952795****",
        "InstanceId": 12345,
        "FixTime": 1553508465000,
        "TopicType": "ERROR",
        "TopicStatus": "NEW",
        "HappenTime": 1553508465000,
        "NodeName": "节点名称",
        "TopicId": 1234,
        "AddTime": 1553524393000,
        "NodeId": 1234
      }
    ]
  }
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

500 Forbidden.Not.Server The dataworksAPI service is not available in this area. Please try it in another area.
500 InternalError.System An internal system error occurred. Try again later.
500 InternalError.UserId.Missing An internal system error occurred. Try again later.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. No permission, please authorize
429 Throttling.Api The request for this resource has exceeded your available limit.
429 Throttling.Api.Risk The request for this resource has exceeded your daily available limit.
429 Throttling.System The DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.