Revision 383237323533 () - Diff

Link to this snippet: https://friendpaste.com/7TnIgB6zVyK6f3uhDbCiLw
Embed:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
POST /_pubsub
{
subscription: [
{"db": "somedb", "since": "000"},
{"db": "somedb2", "since": "blah"}
]
}




PUT /_pubsub
{
id: "someid",
subscription: [
{"db": "somedb", "since": "000"},
{"db": "somedb2", "since": "blah"}
]
}
first line :
{ "ok": true; "id": "someid" }
Next lines :

{ "db": ...}


GET /_pubsub/someid

lines of changes