Skip to main content

Google Cloud Storage (GCS)

A Google Cloud Storage bucket can be defined as an input and/or output location for your videos using either the LightFlow portal or API.

Using the LightFlow Portal

Click the GCS icon on the I/O Storage page:

On the GCS Storage Creation page that appears, enter the following information:

  • Name: Name of the Google Cloud Storage location as it will be displayed in LightFlow
  • Google Cloud Storage bucket name: GCS bucket name
  • Google Access key: Google Cloud Storage account access key
  • Google Secret key: Google Cloud Storage account secret key
  • Type of storage: Select Input, Output or Input & Output (the same bucket can be selected for input and also as a repository for the output files)

Using the LightFlow API

To create a GCS endpoint with the API, send a POST instruction to api.lightflow.media/inputs-outputs

The response will include the unique identifier of the input/output storage location, which can be later selected as input (InputId) and/or output (OutputId) when publishing a video asset.


BASH
curl -XPOST 'https://api.lightflow.media/inputs-outputs' \
  -H 'authorization: Bearer API_KEY' \
  -H 'content-type: application/json' \
  -d '{
      "storageId": "gcs",
      "storageType": "input-output",
      "name": "My Google Storage bucket",
      "args": [{
        "id": "bucket",
        "value": "custom_bucket"
      },{
        "id": "accessKey",
        "value": "access_key"
      },{
        "id": "secretKey",
        "value": "secret_key"
      }]
  }'


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.