add examples json

This commit is contained in:
Asim Aslam
2021-08-13 13:00:51 +01:00
parent 9348afd0f6
commit 0148320cce

12
stream/examples.json Normal file
View File

@@ -0,0 +1,12 @@
{
"publish": [{
"title": "Publish a message",
"description": "Publish a message to a topic on the stream",
"request": {
"topic": "events",
"message": {"id": "1", "type": "signup", "user": "john"}
},
"response": {}
}]
}