我有时序见解 REST API 的 JSON 请求,如下所示:
JObject contentInputPayload = new JObject(
new JProperty("top", new JObject(
new JProperty("sort", new JArray(new JObject(
new JProperty("input", new JObject(
new JProperty("builtInProperty", "$ts")
)),
new JProperty("order", "Asc")
))),
new JProperty("count", getTelemetry.RequestedEventCount)
)),
getPredicateSingle(getTelemetry.PropertyName, getTelemetry.PropertyValue),
new JProperty("searchSpan", new JObject(
new JProperty("from", Convert.ToDateTime(getTelemetry.FromDateTime)),
new JProperty("to", Convert.ToDateTime(getTelemetry.ToDateTime)))));
我可以使用 count 属性来限制事件的数量。如果我将其留空,我会收到400 Bad Request。如何在该时间范围内请求所有事件?