Updated Webhooks (markdown)

Nicolas Viennot 2016-04-05 13:02:35 -04:00
parent f173bb99e5
commit ea794c5833

@ -62,7 +62,7 @@ The `session_register` event is sent when a new session is created **or when a s
* `entity_id` is the session id.
* `stoken` and `stoken_ro` are the read/write and readonly session tokens.
* `ssh_cmd_fmt` and `web_url_fmt` are the connection strings where `%s` must be replaced with `stoken` or `stoken_ro` depending on the desired access.
* `reconnected` is a boolean to denote if the session was created, or got reconnected. In the case of a reconnection, The `entity_id` will have the same value as the previously received `session_register` event. However, the connection strings may be different as the tmate.io server might be different. You may assume all connected clients (see below) have left the session when receiving such reconnection event.
* `reconnected` is a boolean to denote if the session was created, or got reconnected. In the case of a reconnection, The `entity_id` will have the same value as the previously received `session_register` event. However, the connection strings may be different as the SSH server might be different. However the tokens will remain the same. You may assume all connected clients (see below) have left the session when receiving such reconnection event.
* `pubkey` is the SSH public key of the tmate host.
* `ip_address` is the IP address of the tmate host.
* `client_version` is the client version of the tmate host.