调用GetFolder获取资源夹信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| FolderId |
string |
是 |
资源夹 ID。 |
fd-Jyl5U7**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回结果。 |
||
| RequestId |
string |
请求 ID。 |
C2CBCA30-C8DD-423E-B4AD-4FB694C9180C |
| Folder |
object |
资源夹信息。 |
|
| FolderId |
string |
资源夹 ID。 |
fd-Jyl5U7**** |
| CreateTime |
string |
资源夹创建时间。 |
2021-06-15T06:39:08.521Z |
| ParentFolderId |
string |
父资源夹 ID。 |
r-Wm**** |
| FolderName |
string |
资源夹名称。 |
Applications |
| ResourceDirectoryPath |
string |
资源夹在资源目录中的路径 ID(RDPath)。 |
rd-3G****/r-Wm****/fd-Jyl5U7**** |
示例
正常返回示例
JSON格式
{
"RequestId": "C2CBCA30-C8DD-423E-B4AD-4FB694C9180C",
"Folder": {
"FolderId": "fd-Jyl5U7****",
"CreateTime": "2021-06-15T06:39:08.521Z",
"ParentFolderId": "r-Wm****",
"FolderName": "Applications",
"ResourceDirectoryPath": "rd-3G****/r-Wm****/fd-Jyl5U7****"
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | MissingParameter.FolderId | You must specify FolderId. | |
| 400 | InvalidParameter.FolderId | The FolderId is invalid. | |
| 404 | EntityNotExists.ResourceDirectory | The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account. | |
| 404 | EntityNotExists.Folder | The resource directory folder does not exist. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。