Anda dapat memanggil GetFolder untuk mengambil detail sebuah folder.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
No |
ID workspace DataWorks. Masuk ke konsol DataWorks dan buka halaman Workspace Management untuk memperoleh ID workspace. Anda harus mengatur parameter ini atau ProjectIdentifier untuk menentukan workspace DataWorks bagi pemanggilan API. |
1000011 |
| ProjectIdentifier |
string |
No |
Nama workspace DataWorks. Masuk ke konsol DataWorks dan buka halaman Workspace Management untuk memperoleh nama workspace. Anda harus mengatur parameter ini atau ProjectId untuk menentukan workspace DataWorks bagi pemanggilan API. |
dw_project |
| FolderId |
string |
No |
ID folder. Anda harus mengatur parameter ini atau FolderPath. Anda dapat memanggil operasi ListFolders untuk memperoleh ID folder. |
273**** |
| FolderPath |
string |
No |
Path folder. Anda harus mengatur parameter ini atau FolderId. Anda dapat memanggil operasi ListFolders untuk memperoleh path folder. |
Business_process/my_first_business_process/MaxCompute/ods_layer |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
Kode status HTTP. |
200 |
| ErrorMessage |
string |
Pesan kesalahan. |
The connection does not exist. |
| RequestId |
string |
ID permintaan. Gunakan ID ini untuk memecahkan masalah jika terjadi kesalahan. |
0000-ABCD-EFG**** |
| ErrorCode |
string |
Kode kesalahan. |
Invalid.Tenant.ConnectionNotExists |
| Success |
boolean |
Menunjukkan apakah pemanggilan berhasil. |
true |
| Data |
object |
Detail folder. |
|
| FolderPath |
string |
Path 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. | |
| 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.