Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This method is used for submitting the upload, which enabled the processing server to start processing the file

...

NameExampleDescription
methodSubmitUploadUploadAssetFixed parameter that identifies the endpoint method.
accessKeyeb774621-1c2f-467b-b006-a8efa67094a7AccesKey for APIuploadId
digiuploadId1234Id of the upload, returned from InitiateUpload
itemId1234id itemid of the upload, returned from InitiateUpload

Optional Parameters

NameExampleDescription
folderid40

Parameter used to identify what folder the uploaded asset should go to. It defaults to one
if not provided.

cUrl data example

Info
iconfalse

--data "method=SubmitUpload=UploadAsset&itemId=9512&digiuploadId=4&accesskey=eb774621-1c2f-467b-b006-a8efa67094a7&uploadId=318"

Success Response

Code : 200 OK

Content example

Code Block
{
	    "success": true,
    	"total": 10,
	    "error": "",
  	"items": null,
	  "items": [{
        "AssetId": 4,
        "ItemId": 9512
    }],
    "warnings": null[]
}

Error Response

Code : 200 OK

Content  example

...