Versions Compared

Key

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

This method is used for initiating an upload

...

NameExampleDescription
methodAddUploadFileWithNameAndSettingsNoDateInitiateUploadFixed parameter that identifies the endpoint method.
accessKeyeb774621-1c2f-467b-b006-a8efa67094a7AccesKey for APIcomputernameuploadername of the uploader
filenametest.jpgname of the file including extensionnametestname of the asset (usually filename without extension)that is uploaded

Optional parameters

NameExampleDescription
uploadernamefjs.uploadName of the uploader. Used for workflows

cUrl data example

Info
iconfalse

--data "method=AddUploadFileWithNameAndSettingsNoDate=InitiateUpload&filename=458-speciale-thumb.jpg&uploadername=fjs.upload&accesskey=eb774621-1c2f-467b-b006-a8efa67094a7&filename=example.jpg&name=example&computername=testuploader"

Success Response

Code : 200 OK

Content example

Code Block
{
	    "success": true,
    	"total": 10,
    	"error": "",
  	  "items": [{
		        "uploadId": 318,
		"itemId": 10621
	4,
        "itemId": 9512,
        "AssetId": 0
    }],
	    "warnings": null[]
}

Error Response

Code : 200 OK

Content  example

...