Adds specified datonis_files to specified analytics_engine

Params

Param name Description
datonis_file_keys
optional

Comma separated list of file keys to be added to the analytics_engine


Value: Must be an array of any type
pretty
optional

Return a pretty formatted response if true, Default is false


Value: Must be a Boolean

Examples

Request - containing the list of datonis_files to be added
  curl -X PUT -H "Content-Type:application/json" -H "X-Auth-Token:WtUFnj8pvSxVnH9e_xkq7A" -d '{"datonis_file_keys":["edae369ta1"]}' https://api.datonis.io/api/v3/analytics_engines/da6eff3ec7/add_files

Response (returns details of the analytics_engine with updated datonis_files)
{
  "analytics_engine": {
    "analytics_engine_key": "da6eff3ec7",
    "cmdline": "",
    "configuration": {
      "key": "value",
      "new key": "value"
    },
    "created_at": 1453890933,
    "description": "",
    "name": "engine-01",
    "updated_at": 1453964459,
    "datonis_files": [
      {
        "created_at": 1453961421,
        "datonis_file_key": "b68176t6t4",
        "description": "",
        "driver_class": "",
        "name": "mongodb-driver-3.0.2.jar",
        "type": "jar",
        "updated_at": 1453961421
      },
      {
        "created_at": 1453963406,
       ...