There is a default limit of 500 alarms that will be returned through the REST APIs. This can be changed for a REST API call by specifying the maxObjectCount query parameter in the REST API URL.
Example:
http://<server>:<port>/api/v1/alarm/history?maxObjectCount=1000
It is also possible to change the default value by adjusting the REST_MaxObjectCount registry variable, but note that doing so will affect all REST APIs.
REST API calls for historical alarms can also be limited by the specified time range. The default Time Range is configured for the REST API user under the User Preferences in the Foglight Console; this can be customized using the startTimeMS and durationMS URL parameters.
Example:
http://<server>:<port>/api/v1/alarm/history?durationMS=5400000&maxObjectCount=2000
For additional information on the URL parameters refer to the Foglight - REST API Reference Guide.
© ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center