Product SiteDocumentation Site

2.6. MSE sensor listing for a domain

MSE sensors can be listed for a given domain by issuing a GET request to the following URI:
https://hostname/api/v1/sensors/:sensor_uuid/mse
Where :sensor_uuid should be replaced by the domain UUID you wish to get MSE sensors from. If the specified domain is not found HTTP 404 Not Found status code will be returned. If the requesting user does not have read permissions over the specified domain HTTP 401 Unauthorized will be returned. If the request is successful HTTP 200 OK status code will be returned alongside a JSON payload describing the MSE sensors found. In the following lines you may find an execution example:

        HTTP Verb: GET
        URI: https://hostname/api/v1/sensors/8726017729975087448/mse?auth_token=xxxxxx

      Response:
        Status Code: 200 OK
        Body:
          {
            "query": true,
            "mse": [
              {
                "id": 854,
                "name": "TestMSE",
                "ip": "0.0.0.0",
                "latitude": null,
                "longitude": null,
                "is_deleted": false,
                "applied_at": null,
                "type": 8,
                "real_parent_id": null,
                "group_id": null,
                "binding_id": null,
                "need_apply": false,
                "applying": false,
                "property": {},
                "domain_type": 1,
                "unassigned": false,
                "policy_id": null,
                "reputation_policy_id": null,
                "need_reputation_apply": false,
                "uuid": "4297150382216182536"
              }
            ]
          }