API Description
Keynote Tingyun App provides HTTP interfaces for direct access to chart data in the console. Users can access these interfaces to obtain monitoring data, and then import their own database or realize their own report customization and integration.
After logging in to the Wukong platform, hover the mouse over the account name in the lower left corner, and click Account Management>API in turn to generate accessToken, which is permanently valid. When calling the API, you need to add authorization
a value token accessToken
of in the request header, where there is a space between token and accessToken.
Variables are indicated in the text by double braces and are listed as follows:
- Host: interface address, which is the platform address +/app-api, for example
https://wukong2.tingyun.com/app-api
. - Mobile AppId: The application ID is obtained through the
Basic Information>Retrieve Application List
API. - EndTime: end time, "" is the current time, and the fixed time is "yyyy-MM-dd HH: SS", for example, "2021-08-26 14:00".
- TimePeriod: The time interval, in minutes, until the interval is the start time, for example, 30.