Updates the analytics_engine with given parameters

Params

Param name Description
analytics_engine
required

Map containing the details of the analytics_engine to be updated


Value: Must be a Hash
pretty
optional

Return a pretty formatted response if true, Default is false


Value: Must be a Boolean

Examples

Request
  curl -X PUT -H "Content-Type:application/json" -H "X-Auth-Token:Ko2rILQPWNxzFj1zudWx7g" -d -d '{"analytics_engine":{"configuration":{"foo":"bar1"},"description":"test2","name":"ee", "cmdline":"$SPARK_HOME/bin/spark-submit ..."}}' https://datonis.altizon.com/api/v3/analytics_engines/89a6t97t4c

Response (containing details of the analytics_engine updated)
{
  "analytics_engine": {
    "analytics_engine_key": "89a6t97t4c",
    "cmdline": "$SPARK_HOME/bin/spark-submit ...",
    "configuration": {
      "foo": "bar1"
    },
    "created_at": 1440064473,
    "description": "test2",
    "name": "ee",
    "payload": "null",
    "updated_at": 1440066246
  }
}