This is a step by step guide to uploading a large file by breaking the file into chunks and submitting each chunk separately.
get api URLs
create new chunked file
update asset bank with file from uploaded chunks
Get API URL
It is recommended to code against the API using the following root request to look up the URLs rather than hard code the urls directly as this will ensure that new versions of the API do not introduce incompatibility issues.
For example, from the response JSON structure, select the version of the API and look up the URL for the API resource (e.g. api_version_1_3.tempChunkedFileUrl).
curl -X GET -H "Accept: application/json" "http://127.0.0.1:8080/asset-bank/rest/"
201 Created Location: http://127.0.0.1:8080/asset-bank/rest/assets/1
Put chunked file into Asset Bank from uploaded chunks.
Set the header field 'X-Copy-Temp-Chunked-File' to be the URL used to upload the chunks when invoking the assets API to set the content of a particular asset to be the uploaded file joined in sequence according to the indices supplied.