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:

Field Description Required Default
input.type Specifies the type of the input. For cloud storage always use cloud. Yes N/A
input.source Tells our servers which cloud storage provider must be contacted, in this case azure. Yes N/A
input.parameters.container The name of the container that holds your files. Yes N/A
input.parameters.file Complete path to the file to download, e.g. folder-inside-bucket/image.jpeg. Yes N/A
input.credentials.accountname Can be found in the storage account dashboard. It's the name before the blob.core.windows.net URL. Yes N/A
input.credentials.accountkey Can be found in the storage account dashboard under the Access Keys menu entry. Yes N/A
POST /v2/jobs HTTP/1.1
Host: api.api2convert.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://api.api2convert.com/v2/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"
        }
    }]
}'

User suggested filenames

Filenames can be specified as described in the section for remote inputs

results matching ""

    No results matching ""