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

Uploads from Google Cloud Storage are always processed fully in the background. Record IDs and System Identifiers for the uploaded assets are generated immediately.

The behavior of this call depends on your duplicate detection configuration.

  • When duplicate detection is off, you can use this call to upload any asset, even if it's a duplicate of an asset that's already stored in Orange Logic.
  • When duplicate detection is on, this call returns the ID of the duplicate asset instead of uploading the new asset.
  • When duplicate detection with checksum is on, this call returns the ID and version number of the duplicate asset instead of uploading the new asset.

Duplicate detection is off by default. Submit a support request to enable duplicate detection.

📙

Feature documentation

Orange Logic users with a Link account can go to the following articles to learn more about each feature:

Body Params
string

The record ID, unique identifier, or encrypted record ID of an existing asset. The file you provide will be uploaded as a new version of this asset.
This parameter or the folderRecordID parameter is required.

string

The record ID, unique identifier, or encrypted record ID of a folder to upload the asset to. The file you provide will be uploaded as a new asset.
This parameter or the recordID parameter is required.

string
required

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

string
required

The path of the file within the source bucket to upload

string

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

boolean
Defaults to false

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

metadata
object

Metadata applied to the uploaded asset.

boolean
Defaults to true

Set to true to delay indexing and speed up the API call processing time.

This parameter is available beginning in Orange Logic Ottawa.

string
enum

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.
This parameter is available beginning in Orange Logic Ottawa.

Allowed:
Response

Language
Credentials
OAuth2
URL
Response
Choose an example:
application/json