Mengkueri tren jumlah instans node yang dipicu otomatis dalam periode pengatur waktu tertentu.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
ID ruang kerja DataWorks. Anda dapat masuk ke Konsol DataWorks dan membuka halaman Ruang Kerja untuk mendapatkan ID ruang kerja. |
10000 |
| BeginDate |
string |
Yes |
Awal rentang pengatur waktu yang akan dikueri, akurat hingga hari. Tentukan pengatur waktu dalam standar ISO 8601 dengan format yyyy-MM-dd'T'HH:mm:ssZ. Pengatur waktu harus dalam UTC. |
2021-06-13T00:00:00+0800 |
| EndDate |
string |
Yes |
Akhir rentang pengatur waktu yang akan dikueri, akurat hingga hari. Tentukan pengatur waktu dalam standar ISO 8601 dengan format yyyy-MM-dd'T'HH:mm:ssZ. Pengatur waktu harus dalam UTC. |
2021-06-16T00:00:00+0800 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
95279527adhfj**** |
| InstanceCounts |
array<object> |
The trend of the number of auto triggered node instances within the specified period of time. |
|
|
object |
|||
| Date |
integer |
The data timestamp at which the number of auto triggered node instances was obtained. This value is a UNIX timestamp. |
1623772800000 |
| Count |
integer |
The number of auto triggered node instances. |
9527 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "95279527adhfj****",
"InstanceCounts": [
{
"Date": 1623772800000,
"Count": 9527
}
]
}
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. | |
| 500 | Forbidden.Wkbench.NoProject | You have not joined any project. | |
| 403 | ResourceNotAuthorized.Api | You are not authorized to access the resources. | |
| 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.Resource | You have reached the limit for the resource. Please contact us by submitting a ticket. | |
| 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.