trend.get
The method allows to retrieve trend data according to the given parameters.
This method is available to users of any type. Permissions to call the method can be revoked in user role settings. See User roles for more information.
The method supports the following parameters.
(integer/array)
Returns either:
- the count of retrieved objects, if the
countOutput
parameter has been used.
Retrieving item trend data
Response:
{
"jsonrpc": "2.0",
{
"itemid": "23715",
"num": "60",
"value_min": "0.165",
"value_max": "0.35",
}
],
}
CTrend::get() in ui/include/classes/api/services/CTrend.php.