v1

latestOpenAPI 3.1.02026-07-24440202.2 KB

Upload image and get largest download link

Upload an image from your computer to Orange Logic and receive a download link to the largest available asset format.

post/uploadimageandgetlargestdownloadlink_4CM_v1

Headers

Content-Typestring required

The <code>multipart/form-data</code> header parameter is required for this call.

Request body

folderRecordIDstring required

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

filesstring required

The file to upload.

clientFileNamestring required

The filename, including the file extension. For example: London Eye.jpg

Response

200

downloadLinkstring
{"stackTrail":"paths:/uploadimageandgetlargestdownloadlink_4CM_v1:post:responses:200:content:application/json:schema:properties:message","oasType":"schema","type":"unknown"}

Example response

{
  "downloadLink": "https://university1.orangelogic.com/AssetLink/k7a04i007p163o85jhqte2no1lmlejal.png"
}