GetFolder を呼び出して、フォルダの詳細を取得できます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
dataworks:* |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ProjectId |
integer |
任意 |
DataWorks ワークスペースの ID。DataWorks コンソールにログインし、[ワークスペース管理] ページに移動してワークスペース ID を取得します。API 呼び出しで DataWorks ワークスペースを指定するには、このパラメーターまたは ProjectIdentifier を設定する必要があります。 |
1000011 |
| ProjectIdentifier |
string |
任意 |
DataWorks ワークスペースの名前。DataWorks コンソールにログインし、[ワークスペース管理] ページに移動してワークスペース名を取得します。API 呼び出しで DataWorks ワークスペースを指定するには、このパラメーターまたは ProjectId を設定する必要があります。 |
dw_project |
| FolderId |
string |
任意 |
フォルダの ID。このパラメーターまたは FolderPath を設定する必要があります。ListFolders 操作を呼び出して、フォルダ ID を取得できます。 |
273**** |
| FolderPath |
string |
任意 |
フォルダのパス。このパラメーターまたは FolderId を設定する必要があります。ListFolders 操作を呼び出して、フォルダのパスを取得できます。 |
Business_process/my_first_business_process/MaxCompute/ods_layer |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| HttpStatusCode |
integer |
HTTP ステータスコード。 |
200 |
| ErrorMessage |
string |
エラーメッセージ。 |
The connection does not exist. |
| RequestId |
string |
リクエスト ID。エラーが発生した場合、この ID を使用して問題をトラブルシューティングします。 |
0000-ABCD-EFG**** |
| ErrorCode |
string |
エラーコード。 |
Invalid.Tenant.ConnectionNotExists |
| Success |
boolean |
呼び出しが成功したかどうかを示します。 |
true |
| Data |
object |
フォルダの詳細。 |
|
| FolderPath |
string |
フォルダのパス。 |
Business_process/my_first_business_process/MaxCompute/ods_layer |
| FolderId |
string |
フォルダの ID。 |
2735**** |
例
成功レスポンス
JSONJSON
{
"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****"
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。