Skip to content

Commit

Permalink
Merge branch 'release/0.2.0' of github.com:airyhq/airy into release/0…
Browse files Browse the repository at this point in the history
….2.0
  • Loading branch information
ljupcovangelski committed Dec 1, 2020
2 parents 28df05f + 8c3f083 commit 630c092
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ curl -H "Content-Type: application/json" -H "Authorization: $token" -d \
}" api.airy/channels.connect
```

![channels_connect](media/channels_connect.gif)
The id from the response is the `channel_id`, note it down as it's required in the next steps.

## Sending messages with the chat plugin
Expand All @@ -86,8 +87,12 @@ http://chatplugin.airy/example.html?channel_id=<channel_id>

You can now type a message in the text box and send it 🎉

![chatplugin](media/chatplugin.gif)

To see how messages are flowing through the system, you can now [list conversations](api/http.md#list-conversations) for the channel you just created which should return the message you just sent.

![conversations.list](media/conversation.list.png)

```bash
curl -H "Content-Type: application/json" -H "Authorization: $token" -d "{}" \
api.airy/conversations.list | jq .
Expand All @@ -103,3 +108,5 @@ kafka-console-consumer \
--topic application.communication.messages \
--from-beginning
```

![kafka_topic](media/kafka.gif)
Binary file added docs/docs/media/channels_connect.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/media/chatplugin.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/media/conversation.list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/media/kafka.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 630c092

Please sign in to comment.