Menambahkan file ke story.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:AddStoryFiles |
none |
*Dataset
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
Nama proyek. |
test-project |
| DatasetName |
string |
Yes |
Nama set data. |
test-dataset |
| ObjectId |
string |
Yes |
ID story. |
testid |
| Files |
array<object> |
Yes |
Daftar file yang akan ditambahkan. |
|
|
object |
No |
Informasi file. |
||
| URI |
string |
No |
Lokasi penyimpanan file. URI OSS memiliki format oss://${Bucket}/${Object}, di mana |
oss://test-bucket/test-object |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
6E93D6C9-5AC0-49F9-914D-E02678D3**** |
| Files |
array<object> |
Daftar file yang ditambahkan. |
|
|
object |
Informasi file. |
||
| URI |
string |
URI file. URI memiliki format |
oss://test-bucket/test-object |
| ErrorCode |
string |
Kode kesalahan. |
ResourceNotFound |
| ErrorMessage |
string |
Paket kesalahan. |
The specified resource %s is not found. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "6E93D6C9-5AC0-49F9-914D-E02678D3****",
"Files": [
{
"URI": "oss://test-bucket/test-object",
"ErrorCode": "ResourceNotFound",
"ErrorMessage": "The specified resource %s is not found."
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.