Skip to main content

Object Matrix

An Object Matrix container 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 Object Matrix icon on the I/O Storage page:

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

  • Name: Name of the Object Matrix location as it will be displayed in LightFlow
  • Bucket name: Object Matrix bucket name
  • Account access key secret: Object Matrix account access key secret
  • Account secret key secret: Object Matrix account secret key secret
  • Type: 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 an Object Matrix 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 posting a video.


BASH
curl -XPOST 'https://api.lightflow.media/inputs-outputs' \
  -H 'authorization: Bearer API_KEY' \
  -H 'content-type: application/json' \
  -d '{
      "storageId": "objectMatrix",
      "storageType": "input-output",
      "name": "object matrix bucket",
      "args": [{
        "id": "bucket",
        "value": "custom_bucket"
      },{
        "id": "accountAccessKeySecret",
        "value": "account_access_key_secret"
      },{
        "id": "accountSecretKeySecret",
        "value": "account_secret_key_secret"
      }]
    }'




JavaScript errors detected

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

If this problem persists, please contact our support.