This method is used for submitting the upload, which enabled the processing server to start processing the file
...
Name | Example | Description |
---|---|---|
method | ReplaceAsset | Fixed parameter that identifies the endpoint method. |
accessKey | eb774621-1c2f-467b-b006-a8efa67094a7 | AccesKey for API |
digiuploadId | 1234 | Id of the upload, returned from InitiateUpload |
itemId | 1234 | itemid of the upload, returned from InitiateUpload |
TargetAssetId | 1234 | AssetId to be replaced with newly upload asset |
...
Name | Example | Description |
---|---|---|
folderid | 40 | Parameter used to identify what folder the uploaded asset should go to. It defaults to one |
SourceAssetId | 1234 | If an existing asset is to be replaced with another existing asset. |
keepMetadata | True | Used to determine if the metadata should be inherited from old asset |
overwrite | False | Used to determine if there should be a version history of the replaced asset |
cUrl data example
Info | ||
---|---|---|
| ||
--data "method=ReplaceAsset&itemId=9512&digiuploadId=4&targetAssetId=1234&accesskey=eb774621-1c2f-467b-b006-a8efa67094a7" |
Success Response
Code : 200 OK
Content example
Code Block |
---|
{ "success": true, "total": 0, "error": "", "items": [{ "AssetId": 4, "ItemId": 9512 }], "warnings": [] } |
Error Response
Code : 200 OK
Content example
...