mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-21 23:15:06 +00:00
add subscribe example
This commit is contained in:
@@ -9,5 +9,17 @@
|
|||||||
"message": {"id": "1", "type": "signup", "user": "john"}
|
"message": {"id": "1", "type": "signup", "user": "john"}
|
||||||
},
|
},
|
||||||
"response": {}
|
"response": {}
|
||||||
|
}],
|
||||||
|
"subscribe": [{
|
||||||
|
"title": "Subscribe to a topic",
|
||||||
|
"description": "Subscribe to messages on a given topic from the stream",
|
||||||
|
"run_check": false,
|
||||||
|
"request": {
|
||||||
|
"topic": "events"
|
||||||
|
},
|
||||||
|
"response": {
|
||||||
|
"topic": "events",
|
||||||
|
"message": {"id": "1", "type": "signup", "user": "john"}
|
||||||
|
}
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user