Microsoft Azure Blob Storage

To allow our servers to download files directly from the Microsoft Azure Blob Storage, the following parameters to send the request are available:

FieldDescriptionRequiredDefault
input.typeSpecifies the type of the input. For cloud storage always use cloud.YesN/A
input.sourceTells our servers which cloud storage provider must be contacted, in this case azure.YesN/A
input.parameters.containerThe name of the container that holds your files.YesN/A
input.parameters.fileComplete path to the file to download, e.g. folder-inside-bucket/image.jpeg.YesN/A
input.credentials.accountnameCan be found in the storage account dashboard. It's the name before the blob.core.windows.net URL.YesN/A
input.credentials.accountkeyCan be found in the storage account dashboard under the Access Keys menu entry.YesN/A
POST /jobs HTTP/1.1
Host: api2.online-convert.com
x-oc-api-key: <your API key here>
Content-Type: application/json
Cache-Control: no-cache

{
    "conversion": [{
        "target": "png"
    }],
    "input": [{
        "type": "cloud",
        "source": "azure",
        "parameters": {
            "container": "the name of the container that holds your files",
            "file": "the complete path to the file"
        },
        "credentials": {
            "accountname": "the account name",
            "accountkey": "the access key of your account"
        }
    }]
}
curl -X POST \
  https://api2.online-convert.com/jobs \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'x-oc-api-key: <your API key here>' \
  -d '{
    "conversion": [{
        "target": "png"
    }],
    "input": [{
        "type": "cloud",
        "source": "azure",
        "parameters": {
            "container": "the name of the container that holds your files",
            "file": "the complete path to the file"
        },
        "credentials": {
            "accountname": "the account name",
            "accountkey": "the access key of your account"
        }
    }]
}'

results matching ""

    No results matching ""