forked from benel/SOS21Server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rewrites.json
57 lines (56 loc) · 1.14 KB
/
rewrites.json
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[
{
"from": "effects",
"to": "_view/effects",
"query": {
"group": true
}
}, {
"from": "effects_by_place/:place",
"to": "_view/effects_by_place",
"query": {
"startkey": [":place"],
"endkey": [":place", {}],
"group": true
}
}, {
"from": "effects_by_character/:character",
"to": "_view/effects_by_character",
"query": {
"startkey": [":character"],
"endkey": [":character", {}],
"group": true
}
}, {
"from": "playable_character/*",
"method": "PUT",
"to": "_update/playable_character/*"
}, {
"from": "playable_character/*",
"to": "../../*"
}, {
"from": "characters_by_place/:place",
"to": "_view/characters_by_place",
"query": {
"include_docs": true,
"key": [":place"]
}
}, {
"from": "_changes_on_place/:place",
"to": "../../_changes",
"query": {
"feed": "longpoll",
"filter": "sos21/place"
}
}, {
"method": "POST",
"from": "",
"to": "../../"
}, {
"from": "away_from_keyboard",
"to": "_view/away_from_keyboard",
"query": {
"descending": true
}
}
]