Remote input type

The following code specifies a remote input file provided via URL:

{
    "input": [{
        "type": "remote",
        "source": "http://www.url_to_your_file_here.test/picture_holidays.jpg"
    }]
}

This is the simplest way of specifying an input file. Define the type field as remote and specify the URL of the file you want to convert in the source.

Password protected files

If the input is a password protected file (e.g. pdf, zip, ...) you can specify this as following:

{ 
    "input": [{ 
        "type": "remote", 
        "source": "http://www.url_to_your_file_here.test/my_document.pdf", 
        "credentials": { 
            "decrypt_password": "my_password" 
        } 
    }] 
}

It is also possible to send just the remote input like in the first example and adding the password in a second step. This is done by simply sending a PATCH request to the following endpoint:

/jobs/<job_id>/input/<input_id>

For this, use the following content:

{ 
  "credentials": { 
        "decrypt_password": "my_password" 
    } 
}

In order to patch the input, the job should not be started yet. This means it should be created using

{"process": false}

results matching ""

    No results matching ""