如何通过执行TSI查询来获取返回数据的计数?

发布于 2025-02-04 22:58:29 字数 267 浏览 2 评论 0原文

我想检索TSI中的数据。我正在从Postman客户端发送请求,例如http://xxxxipxxx/data-api/api/api/v1.0/data/variables 请求格式是:

{ “日期”: { “来自”:“ 2021-08-01T00:00:00z”, “ to”:“ 2022-08-31T23:59:59Z” },, “筛选”: ”” , “选择”: { “属性”:“ value” },, “限制”:100 }

我要在执行脚本后返回数据的计数。请帮助我如何实现这一目标。

I want to retrieve the data in TSI . I am sending the request from postman client like http://xxxxIPxxx/data-api/api/v1.0/data/variables
The request format is :

{
"date": {
"from": "2021-08-01T00:00:00Z",
"to": "2022-08-31T23:59:59Z"
},
"filter": "" ,
"select": {
"properties": "value"
},
"limit": 100
}

I wan to get the count of the data returned after executing the script . Please help me how can I achieve that .

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

土豪我们做朋友吧 2025-02-11 22:58:29

如何通过执行TSI查询来获取返回数据的计数?

GET https://{environmentFqdn}/availability?api-version=2022-07-31

中获得

emoverivefqdn可以从Azure Portal “在此处输入图像说明”

How to get the count of the data returned by executing the TSI query?

  • Query - Get Availability
    Returns the event count distribution and time range for the event timestamp ($ts).

  • Get Environments Availability API: Returns the event count distribution over the event timestamp '$ts'.

  • It returns the count of events broken into intervals of time,

GET https://{environmentFqdn}/availability?api-version=2022-07-31

environmentFqdn can be obtained from the Azure portal

enter image description here
enter image description here
enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文