mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
add examples json
This commit is contained in:
12
stream/examples.json
Normal file
12
stream/examples.json
Normal 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": {}
|
||||
}]
|
||||
}
|
||||
Reference in New Issue
Block a user