Merge pull request #226 from turt2live/travis/bridge-info

Add provisioning route for getting misc bridge info
This commit is contained in:
Tulir Asokan
2018-10-08 14:02:19 +03:00
committed by GitHub
2 changed files with 22 additions and 0 deletions
@@ -22,8 +22,23 @@ tags:
- name: User info
- name: Authentication
- name: Bridging
- name: Misc
paths:
/bridge:
get:
operationId: get_bridge
summary: Get the bridge's information
tags: [Misc]
responses:
200:
description: The bridge information
schema:
type: object
properties:
relaybot_username:
type: string
description: The relay bot's username on Telegram
/portal/{room_id}:
get:
operationId: get_portal