WebSocket Track Read

Example

  {
    "msgId": "my-request",
    "object": "track",
    "type": "find",
    "id": "t53b1d1600cf27b75148de0ac"
  }

Response


Example

  {
      "head": {
          "msgId": "my-request",
          "ok": true,
          "messages": [
              "Your request has been processed successfully. A new resource has been created."
          ],
          "errors": []
      },
      "body": {
          "id": "t53b1d1600cf27b75148de02e",
          "source" : "/bob/my_source",
          "destination" : "/bob/my_destination",
          "filter" : "elems.rating > 25",
          "js" : "function f(input) { var output = input; output.elems['stars'] = {'type' : 'float', 'value' : input.elems['rating'].value/25 }; delete output.elems['rating']; return output; }"
      }
  }