Adds objects to a story.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:AddStoryFiles |
none |
*Dataset
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The name of the project. |
test-project |
| DatasetName |
string |
Yes |
The name of the dataset. |
test-dataset |
| ObjectId |
string |
Yes |
The ID of the story. |
testid |
| Files |
array<object> |
Yes |
The objects that you want to add. |
|
|
object |
No |
The information about the object. |
||
| URI |
string |
No |
The URI of the object. Specify the OSS URI in the oss://${Bucket}/${Object} format, where |
oss://test-bucket/test-object |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
6E93D6C9-5AC0-49F9-914D-E02678D3**** |
| Files |
array<object> |
The objects that were added. |
|
|
object |
The information about the object. |
||
| URI |
string |
The URI of the object. The OSS URI follows the |
oss://test-bucket/test-object |
| ErrorCode |
string |
The error code. |
ResourceNotFound |
| ErrorMessage |
string |
The error message. |
The specified resource %s is not found. |
Examples
Success response
JSON format
{
"RequestId": "6E93D6C9-5AC0-49F9-914D-E02678D3****",
"Files": [
{
"URI": "oss://test-bucket/test-object",
"ErrorCode": "ResourceNotFound",
"ErrorMessage": "The specified resource %s is not found."
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.