Mengkueri daftar tipe file OSS yang dapat dideteksi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DescribeDocTypes |
none |
*Semua Sumber daya.
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
Bahasa permintaan dan tanggapan. Nilai default: zh_cn. Nilai valid:
|
zh_cn |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Pengidentifikasi unik yang dibuat oleh Alibaba Cloud untuk permintaan. |
769FB3C1-F4C9-4****** |
| DocTypeList |
array<object> |
Daftar tipe file OSS dalam hasil. |
|
|
object |
Objek tipe file. |
||
| Code |
integer |
Kode tipe file. |
100001 |
| Name |
string |
Nama tipe file. |
C/C++ Source Code |
| Id |
integer |
ID unik tipe file. |
1 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "769FB3C1-F4C9-4******",
"DocTypeList": [
{
"Code": 100001,
"Name": "C/C++ Source Code",
"Id": 1
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.