Memperoleh informasi autentikasi yang digunakan untuk mengunggah berkas.
Deskripsi operasi
Operasi ini mengizinkan maksimum 5 permintaan per detik per akun. Permintaan berlebih akan dibatasi, yang mungkin memengaruhi bisnis Anda. Tetap berada dalam batas yang ditentukan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:GetChatappUploadAuthorization |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CustSpaceId |
string |
Yes |
ID ruang dari sub-pelanggan ISV. |
29348393884**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| RequestId |
string |
ID permintaan. |
90E63D28-E31D-1EB2-8939-A94866411B2O |
| Code |
string |
Kode status HTTP yang dikembalikan.
|
OK |
| Message |
string |
Pesan kesalahan yang dikembalikan. |
无 |
| Data |
object |
Data yang dikembalikan. |
|
| AccessKeyId |
string |
AccessKey ID yang digunakan untuk mengizinkan pengguna mengunggah berkas ke Object Storage Service (OSS). |
2skeuurfj**** |
| AccessKeySecret |
string |
AccessKey secret yang digunakan untuk mengizinkan pengguna mengunggah berkas ke OSS. |
skdkdukeuuuu**** |
| BucketName |
string |
Nama bucket tempat berkas diunggah di OSS. |
oss |
| Dir |
string |
Direktori tempat berkas diunggah di Object Storage Service (OSS). |
100010**** |
| EndPoint |
string |
Alamat server OSS tempat berkas diunggah. |
https://oss.com |
| SecurityToken |
string |
Token keamanan. |
dkdieiii**** |
| Expire |
integer |
Periode batas waktu. |
3600 |
| AccessDeniedDetail |
string |
Detail informasi akses ditolak. |
无 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "90E63D28-E31D-1EB2-8939-A94866411B2O",
"Code": "OK",
"Message": "无",
"Data": {
"AccessKeyId": "2skeuurfj****",
"AccessKeySecret": "skdkdukeuuuu****",
"BucketName": "oss",
"Dir": "100010****",
"EndPoint": "https://oss.com",
"SecurityToken": "dkdieiii****",
"Expire": 3600
},
"AccessDeniedDetail": "无"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Product.Unsubscript | You have not subscribed to the specified product. | |
| 400 | Ram.PermissionDeny | You are not authorized to perform the operation. | |
| 400 | System.LimitControl | The system is under flow control. | |
| 400 | Unknown.ResourceOwnerId | The resource does not belong to the current user. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.