Mengkueri informasi tentang sebuah folder.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
No |
ID workspace DataWorks. Anda dapat memperoleh ID workspace dari halaman konfigurasi workspace di konsol DataWorks. Parameter ini atau ProjectIdentifier harus ditentukan untuk menentukan workspace DataWorks mana yang dioperasikan oleh panggilan API ini. |
1000011 |
| ProjectIdentifier |
string |
No |
Nama workspace DataWorks. Anda dapat memperoleh nama workspace dari halaman konfigurasi workspace di konsol DataWorks. Parameter ini atau ProjectId harus ditentukan untuk menentukan workspace DataWorks mana yang dioperasikan oleh panggilan API ini. |
dw_project |
| FolderId |
string |
No |
ID folder. Parameter ini atau FolderPath harus ditentukan. Anda dapat memanggil operasi ListFolders untuk memperoleh ID folder. |
273**** |
| FolderPath |
string |
No |
Jalur folder. Parameter ini atau FolderId harus ditentukan. Anda dapat memanggil operasi ListFolders untuk memperoleh jalur folder. |
Business_process/my_first_business_process/MaxCompute/ods_layer |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Respons. |
||
| HttpStatusCode |
integer |
Kode status HTTP. |
200 |
| ErrorMessage |
string |
Pesan kesalahan. |
The connection does not exist. |
| RequestId |
string |
ID permintaan. Digunakan untuk pemecahan masalah ketika terjadi kesalahan. |
0000-ABCD-EFG**** |
| ErrorCode |
string |
Kode kesalahan. |
Invalid.Tenant.ConnectionNotExists |
| Success |
boolean |
Menunjukkan apakah panggilan berhasil.
|
true |
| Data |
object |
Detail tentang folder. |
|
| FolderPath |
string |
Jalur folder. |
Business_process/my_first_business_process/MaxCompute/ods_layer |
| FolderId |
string |
ID folder. |
2735**** |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"ErrorMessage": "The connection does not exist.",
"RequestId": "0000-ABCD-EFG****",
"ErrorCode": "Invalid.Tenant.ConnectionNotExists",
"Success": true,
"Data": {
"FolderPath": "Business_process/my_first_business_process/MaxCompute/ods_layer",
"FolderId": "2735****"
}
}
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.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.