You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ws/api.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,9 @@ The three main sections of a Bullet query are:
13
13
"duration":20000
14
14
}
15
15
```
16
-
The duration represents how long the query runs for (a window from when you submit it to that many milliseconds into the future). See the [Filters](#filters), [Projections](#projections) and [Aggregation](#aggregations) sections for their respective specifications. Each of those sections are objects.
16
+
The duration represents how long the query runs for (a window from when you submit it to that many milliseconds into the future).
17
+
18
+
See the [Filters](#filters), [Projections](#projections) and [Aggregation](#aggregations) sections for their respective specifications. Each of those sections are objects and you will need to be place the entire object in the respective sections above.
17
19
18
20
## Filters
19
21
@@ -93,7 +95,7 @@ for raw records, you can use projections to help reduce the load on the system a
93
95
94
96
```javascript
95
97
{
96
-
"projection": {
98
+
"fields": {
97
99
"fieldA":"newNameA",
98
100
"fieldB":"newNameB"
99
101
}
@@ -238,7 +240,7 @@ You have three options to generate points.
238
240
239
241
| Method | Keys |
240
242
| -------------------------- | ---------------- |
241
-
| Number of Points | You can use the ```numberOfPoints``` key to provide a number of points to generate evenly distributed in the full range of your domain |
243
+
| Number of Points | You can use the ```numberOfPoints``` key to provide a number of points to generate evenly distributed in the full range of your domain |
242
244
| Generate Points in a range | You can use ```start```, ```end``` and ```increment``` (```start``` < ```end```, ```increment``` > 0) to specify numbers to generate points in a narrower region of your domain |
243
245
| Specify free-form points | You can specify a free-form *array* of numbers which will be used as the points |
0 commit comments