Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Query bridge status

    Posted 06-05-2025 18:13

    pierrick | 2018-05-24 14:29:05 UTC | #1

    Is it possible to get a notification or do a long poll query to get bridges status?

    I tried to use GET /api/v2/integrations/eventlog but it only post a new event when bridges come back online, not when they go offline:

    Example when a bridge comes back online:

    {
          "id": "5b06caf70dc74cbdbcc3fc120bc7ea",
          "selfUri": "/api/v2/integrations/eventlog/5b06caf70dc74cbdbcc3fc120bc7ea",
          "correlationId": "7d970d7b-dd1b-4926-b1f0-03ac308de78e",
          "timestamp": "2018-05-24T14:23:51.902Z",
          "level": "INFO",
          "eventCode": "Bridge.Platform.ServerReconnect",
          "message": {
            "localizableMessageCode": "Server \"Bridge_Darek\" reconnected",
            "message": "Server \"Bridge_Darek\" reconnected"
          },
          "entities": [
            {
              "entityType": "bridge.server",
              "id": "589852b8e26b26791bcd083d"
            }
          ],
          "contextAttributes": {
            "ServerName": "Bridge_Darek"
          },
          "user": {
            "id": "e66a0631-ddbe-48d6-b7a2-1a6df8f9aeba",
            "selfUri": "/api/v2/users/e66a0631-ddbe-48d6-b7a2-1a6df8f9aeba"
          }

    tim.smith | 2018-05-24 14:31:04 UTC | #2

    The API doesn't support long polling and there isn't a notification topic for bridge servers in the list of available topics.


    pierrick | 2018-05-24 15:09:45 UTC | #3

    Thanks @tim.smith. Appreciate it!


    system | 2018-06-24 15:09:48 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 2907