Skip to content
Snippets Groups Projects
Commit 13320cd3 authored by Silas Davis's avatar Silas Davis Committed by GitHub
Browse files

Add sub_id parameter

fixes #443
parent c86f33a3
No related branches found
No related tags found
No related merge requests found
......@@ -1159,7 +1159,7 @@ TODO
<a name="event-subscribe"></a>
####EventSubscribe
Subscribe to a given type of event.
Subscribe to a given type of event. The event is identified by the `event_id` (see [Event types](#event-types). The response provides a subscription identifier `sub_id` which tracks your client and can be used to [unsubscribe](#eventunsubscribe).
#####HTTP
......@@ -1196,9 +1196,9 @@ For more information about events and the event system, see the [Event system](#
***
<a name="event-unsubscribe"></a>
####EventUnubscribe
####EventUnsubscribe
Unsubscribe to an event type.
Unsubscribe to an event by supplying the subscription identifier `sub_id` you obtained from a previous call to [subscribe](#eventsubscribe).
#####HTTP
......@@ -1210,7 +1210,12 @@ Endpoint: `/event_subs/:id`
Method: `erisdb.eventUnsubscribe`
Parameter: -
Parameter:
```
{
sub_id: <string>
}
```
#####Return value
......@@ -2073,4 +2078,4 @@ One that finds those where 0 <= balance <= 1000.
One that finds non-contract accounts with 0 <= balance <= 1000:
`q=balance:0..1000+code:`
\ No newline at end of file
`q=balance:0..1000+code:`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment