Product SiteDocumentation Site

2.5. MSE sensor creation

MSE sensors can be created issuing a POST request to the following URI:
      HTTP Verb: POST
      URI: https://hostname/api/v1/sensors/mse
      STATUS: DEPRECATED
      HTTP Verb: POST
      URI: https://hostname/api/v1/sensors/create/mse
This request accepts the following payload parameters:
If request was successful HTTP 200 OK status code will be returned alongside a JSON response describing the new MSE sensor.
In the following lines you may find an example response to a successful request:
      Request:
        HTTP Verb: POST
        URI: https://hostname/api/v1/sensors/mse?auth_token=xxxxxx
        Payload: { "name": "test_mse",
                   "parent_uuid": "7549459708256671519",
                   "stream": "StreamB",
                   "mse_version": "8",
                   "port":"xxxx" }

      Response:
        {
          "query": true,
          "sensor": {
            "id": 902
            "uuid": "4110689521083459108"
            "name": "test_mse"
            "stream": "StreamB"
            "mse_version": "8"
          }
        }