Mengkueri statistik instans pada periode berbeda dalam sehari.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
ID ruang kerja DataWorks. |
9527 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
952795279527ab**** |
| InstanceStatusTrend |
object |
Tren statistik status instans pada periode waktu yang berbeda. |
|
| TodayTrend |
array<object> |
Tren pada hari ini. |
|
|
object |
|||
| TimePoint |
string |
The point in time. Valid values: 00:00 to 23:00. |
01:00 |
| Count |
integer |
The number of instances. |
10 |
| YesterdayTrend |
array<object> |
Tren pada hari sebelumnya. |
|
|
object |
|||
| TimePoint |
string |
The point in time. Valid values: 00:00 to 23:00. |
01:00 |
| Count |
integer |
The number of instances. |
10 |
| AvgTrend |
array<object> |
Tren rata-rata. |
|
|
object |
|||
| TimePoint |
string |
The point in time. Valid values: 00:00 to 23:00. |
01:00 |
| Count |
integer |
The number of instances. |
10 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "952795279527ab****",
"InstanceStatusTrend": {
"TodayTrend": [
{
"TimePoint": "01:00",
"Count": 10
}
],
"YesterdayTrend": [
{
"TimePoint": "01:00",
"Count": 10
}
],
"AvgTrend": [
{
"TimePoint": "01:00",
"Count": 10
}
]
}
}
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.ProjectNoPermission | You are not authorized to access the workspace. | |
| 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.