-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.example.json
53 lines (53 loc) · 1.15 KB
/
config.example.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
{
"overwrite": false,
"endpoints": [
{
"name": "Example API 1",
"url": "https://example.com/chem/:smiles",
"method": "GET",
"data": "smiles",
"properties": {
"PROP1": {
"description": "Example Property 1",
"format": "%.3f units",
"path": "path.to.prop1",
"color": {
"type": "within",
"args": {
"min": 0,
"max": 10
}
}
},
"PROP2": {
"description": "Example Property 2",
"format": "%d",
"path": "prop2",
"color": {
"type": "gradient",
"args": {
"colors": [
[0, "ff0000ff"],
[10, "00ff00ff"],
[20, "0000ffff"]
]
}
}
}
}
},
{
"name": "Example API 2",
"url": "https://example.com/chem",
"method": "POST",
"data": "sdf",
"properties": {
"PROP3": {
"description": "Example Property 3",
"format": "%s",
"path": "properties.prop3"
}
}
}
]
}