API v4
As per the REST API Change Log, API V4 exists and is REALLY powerful and efficient.
We make a lot of heavy requests to the LogicMonitor API and want us (and the poor LogicMonitor servers) to benefit from these efficiency gains.
As per the official docs, means of accessing the API v4 have been removed:
https://www.logicmonitor.com/support/rest-api-change-log . A search for "V4" reveals:
Block Access to LM REST API v4 using Bearer Token
Starting with v198 release, you will not be able to use bearer token to authenticate yourself to use LogicMonitor REST API v4 external endpoints. We have already disabled Basic and LMv1 authentication to use API v4. Note that API v4 is not officially supported. We recommend you to use LogicMonitor REST API v3.
Great, but the implication is that it there IS a way of authenticating.
So.. UNOFFICIALLY... Has anyone successfully made an API V4 call in (e.g.) Postman?
befuddled As Jake mentioned, APIv4 was designed solely to support UIv4. The format is unfortunately not intended for end user consumption. This & the flexibility allotted to our developers in having it solely support the UI (vs also being relied on by end users) is why it's not been published.
That being said, we are absolutely committed to exposing new innovation via API, and are working towards an API first strategy with all new features to facilitate this. The API version we publish for new features will be APIv3, however.
David_Bond the specific examples are super helpful. We are actively working on publishing the usage page API (into the v3 version), and we can take a look at the query efficiency in v3 vs v4 to see what might be able to be done to make querying more efficient for end users using the API. If your use case is trying to get bulk data out of LM, we also have a data publisher feature that may be worth a separate discussion, as it is much more scalable than the API.