v1

latestOpenAPI 3.1.02026-07-24440202.2 KB

Upload media with URL

Upload a single file from an online storage system to Orange Logic by providing a file URL

post/uploadmediawithurl_45L_v1

Request body

folderRecordIDstring required

<a href="https://developer.orangelogic.com/reference/assets#record-id">RecordID</a> of the folder to upload the asset to

fileURLstring required

The URL of the file being uploaded

fileNamestring

A name for the file being uploaded, including the file extension. For example: London Eye.jpg<br></br>If you don’t specify a filename, Orange Logic creates one from the file’s embedded metadata.

importMode'processInLine' | 'ProcessProxiesInBackground' | 'ProcessFullyInBackground' | 'ProcessFullyInBackgroundLite'

Determines how the upload 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.

Response

200

isSuccessboolean
fileIdentifierstring
fileRecordIDstring
{"stackTrail":"paths:/uploadmediawithurl_45L_v1:post:responses:200:content:application/json:schema:properties:warningMessage","oasType":"schema","type":"unknown"}

Example response

{
  "isSuccess": true,
  "fileIdentifier": "ZZ22I3M",
  "fileRecordID": "2QDZIFL0I7S"
}