v1

latestOpenAPI 3.1.02026-07-24440202.2 KB

Upload a file from Google Cloud Storage

Upload a single file from Google Cloud Storage to Orange Logic by providing a source bucket and object key

post/uploadFileFromCloudStorage_4OY_v1

Request body

recordIDstring

The <a href="https://developer.orangelogic.com/reference/assets">record ID, unique identifier, or encrypted record ID</a> of an existing asset. The file you provide will be uploaded as a new version of this asset.<br>This parameter <b>or</b> the folderRecordID parameter is <span style="color:#dd1e2e">required</span>.

folderRecordIDstring

The <a href="https://developer.orangelogic.com/reference/assets">record ID, unique identifier, or encrypted record ID</a> of a folder to upload the asset to. The file you provide will be uploaded as a new asset.<br>This parameter <b>or</b> the recordID parameter is <span style="color:#dd1e2e">required</span>.

sourceBucketstring required

The name of the bucket where the file to upload is stored

objectKeystring required

The path of the file within the source bucket to upload

FileNamestring

A name for the file being uploaded, including the file extension. Example: London Eye.jpg

logInfoboolean

Include logs in response. Set to true only for debugging.

indexInBackgroundboolean

Set to true to delay indexing and speed up the API call processing time. </br> </br> This parameter is available beginning in Orange Logic Ottawa.

indexingPriority'Medium' | 'Low' | 'VeryLow'

Forces the records to be indexed in a lower-priority queue to avoid impacting the primary indexing queue. For example, if you are calling large batches of records, the calls might fire faster than the database can index them. You can append &IndexingPriority=Low to avoid overloading the queue. Leave this parameter blank to keep the call in a high priority indexing queue. </br> </b> This parameter is available beginning in Orange Logic Ottawa.

Response

200

Identifierstring
RecordIDstring
IsDuplicatedboolean

Example response

{
  "Identifier": "Q0LXRLS9S",
  "RecordID": "2Z0ZIFLXK8W41"
}