Mendaftar tema tabel. Operasi ini akan segera digantikan. Jangan panggil operasi ini.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
No |
ID ruang kerja DataWorks. |
123 |
| ParentId |
integer |
No |
ID tema tabel induk. |
121 |
| PageNum |
integer |
No |
Nomor halaman. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 10. Nilai maksimum: 100. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| ErrorMessage |
string |
The error message. |
The specified parameters are invalid. |
| RequestId |
string |
The request ID. |
abcde |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| ErrorCode |
string |
The error code. |
1031203110005 |
| Data |
object |
The returned result. |
|
| TotalCount |
integer |
The total number of entries returned. |
10 |
| ThemeList |
array<object> |
The list of table levels. |
|
|
object |
|||
| CreateTimeStamp |
integer |
The time when the table level was created. |
123432343243 |
| ParentId |
integer |
The ancestor node ID. |
122 |
| ThemeId |
integer |
The table theme ID. |
123 |
| ProjectId |
integer |
The DataWorks workspace ID. |
123 |
| Name |
string |
The name of the table level. |
层级名称 |
| Level |
integer |
The level of the table folder. Valid values: 1 and 2. The value 1 indicates the first level. The value 2 indicates the second level. |
1 |
| Creator |
string |
The creator of the table level. |
123455 |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"ErrorMessage": "The specified parameters are invalid.",
"RequestId": "abcde",
"Success": true,
"ErrorCode": "1031203110005",
"Data": {
"TotalCount": 10,
"ThemeList": [
{
"CreateTimeStamp": 123432343243,
"ParentId": 122,
"ThemeId": 123,
"ProjectId": 123,
"Name": "层级名称",
"Level": 1,
"Creator": "123455"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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.