{
  "opencollection": "1.0.0",
  "info": {
    "name": "JetBrains Hub REST Activities Chats API",
    "version": "2024.1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Chats",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "JetBrains List Channels",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.youtrack.cloud/hub/api/rest/chats/channels"
          },
          "docs": "Returns a list of chat channels."
        },
        {
          "info": {
            "name": "JetBrains Send Message",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.youtrack.cloud/hub/api/rest/chats/messages",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Sends a message to a chat channel."
        }
      ]
    }
  ],
  "bundled": true
}