Queries the list of OSS file types that can be detected.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DescribeDocTypes |
none |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Default value: zh_cn. Valid values:
|
zh_cn |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique identifier that Alibaba Cloud generated for the request. |
769FB3C1-F4C9-4****** |
| DocTypeList |
array<object> |
The list of OSS file types in the result. |
|
|
object |
The file type object. |
||
| Code |
integer |
The file type code. |
100001 |
| Name |
string |
The file type name. |
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.