• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Event WebSocket by query

    Mango Automation general Discussion
    2
    3
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Johautt
      last edited by

      Greetings!!!
      I am listening WebSocket events by the endpoint

      /rest/v1/websocket/events
      

      I am sending the following JSON data:

      {
        "eventTypes":[
          "RAISED",
          "ACKNOWLEDGED",
          "RETURN_TO_NORMAL",
          "DEACTIVATED"
        ], "levels":[
          "LIFE_SAFETY",
          "CRITICAL",
          "URGENT",
          "WARNING",
          "IMPORTANT",
          "INFORMATION",
          "NONE"
        ]
      }
      

      With this data, i just get the events filtered by "eventTypes" and "levels".
      Is there a way to get event messages filtered by another filters, apart from these two?
      It would be useful some query format like in the AST endpoint:

      /rest/v1/events/query
      

      Thanks...

      1 Reply Last reply Reply Quote 0
      • Jared WiltshireJ
        Jared Wiltshire
        last edited by

        eventTypes and levels are the only two options. If you need further filtering you can filter the events on the client side.

        Developer at Radix IoT

        1 Reply Last reply Reply Quote 0
        • J
          Johautt
          last edited by

          Ok, good idea.
          Thank you!!!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post