Akamai NetStorage
Akamai NetStorage 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 on the Akamai NetStorage icon on the I/O Storage page:
Note
An FTP Upload Account in Akamai NetStorage is required to create this storage endpoint.
On the NetStorage Storage Creation page that appears, enter the following information:
- Name: Name of the NetStorage location as it will be displayed in LightFlow
- Hostname: NetStorage hostname (provided by Akamai)
- Username: The username for an FTP Upload account in Akamai NetStorage
- Password: The password for the FTP Upload account in Akamai NetStorage
- 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 Akamai NetStorage 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.
curl -XPOST 'https://api.lightflow.media/inputs-outputs' \
-H 'authorization: Bearer API_KEY' \
-H 'content-type: application/json' \
-d '{
"storageId": "netstorage",
"name": "My own NetStorage account",
"storageType": "input-output",
"args": [{
"id": "host",
"value": "netstorage.hostname"
}, {
"id": "username",
"value": "username"
}, {
"id": "password",
"value": "password"
}]
}'