Queries a list of file types supported by Object Storage Service (OSS).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DescribeDocTypes |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. The default value is zh_cn. Valid values:
|
zh_cn |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
769FB3C1-F4C9-4****** |
| DocTypeList |
array<object> |
A list of OSS file types. |
|
|
object |
A file type object. |
||
| Code |
integer |
The code of the file type. |
100001 |
| Name |
string |
The name of the file type. |
C/C++ Source Code |
| Id |
integer |
The unique ID of the file type. |
1 |
Examples
Success response
JSON format
{
"RequestId": "769FB3C1-F4C9-4******",
"DocTypeList": [
{
"Code": 100001,
"Name": "C/C++ Source Code",
"Id": 1
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.