v1
latestOpenAPI 3.1.02026-07-24440202.2 KBUpload new version
Upload a single file from your computer to Orange Logic as a new version of an existing asset
Query parameters
The asset's <a href="https://developer.orangelogic.com/reference/assets#record-id">RecordID or unique identifier</a>. The file you upload will be a new version of this asset.
A name for the file being uploaded, including the file extension. For example: London Eye.jpg
The response format.
Determines whether the update is processed in the background. Go to <a href="https://developer.orangelogic.com/reference/upload#upload-processing-options">Upload processing options</a> for more information.
<a href="https://developer.orangelogic.com/reference/metadata-field-identifiers">Metadata</a> applied to the uploaded asset.
The output <a href="https://developer.orangelogic.com/reference/date-and-time">date format</a>.
An authentication token. If empty, the token included in the current cookie is used.
Headers
The <code>multipart/form-data</code> header parameter is required for this call.
Request body
Response
200
Example response
{
"APIRequestInfo": {
"ProviderVersion": "MILAN.R4.2162P.218145",
"ProviderIdentity": "OLU-T-USW2-APP",
"ProviderID": "44ddde3ac27a33c394335f249d4007d4",
"Module": "UploadMedia",
"APIVersion": "v2.0",
"Resource": "UploadNewVersion",
"IsLoggedIn": true,
"Status": "LoggedIn",
"UserLogin": "jennifer.fance@orangelogic.com",
"Session": "Jen Demo",
"TimeoutPeriodMinutes": 120
},
"APIResponse": {
"RequestInterpretation": {
"ParametersInformation": {
"AssetRecordID": {
"Value": "ZZ14283",
"ValueCount": 1
},
"InputStream": {
"Value": "Binary data"
},
"FileName": {
"Value": "Parliament building in Ottawa.png",
"ValueCount": 1
},
"UploadMode": {
"IsOptional": true
},
"Metadata": {
"Value": "{"CoreField.Title":"Parliament building", "CoreField.Description":"Parliament building on a sunny day in Ottawa"}",
"IsOptional": true,
"ValueCount": 1
}
}
},
"Response": {
"AssetVersion": 2
},
"ExecutionStatus": "Executed",
"HTTPCode": 200,
"Code": "SUCCESS"
}
}