Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen Seitenhistorie anzeigen

Version 1 Nächste Version anzeigen »


The best way to study the LMC AP is to observe the frontend's actions using the browser's debugger.

There is no public documentation about the back end process of the LMC.

The best way of learning how to call which API endpoints is by monitoring the API calls from the frontend while performing an activity.

To monitor the API calls, open your browsers developer tools. The following steps are done with Mozilla Firefox.

1. First, right-click on any element in the browser and click on Inspect Element in the context menu:

2. Then, switch to the Network tab:

3. Next, select XHR , to filter request types, and then filter, for example, for "devices" , and select a request from the list. In the side panel, select the Response tab to see the data structure returned by the backend:

Exercise:

Browse your project, and apply different filters in the Network monitor. Find the request that contains your project's devices.

4. The Headers tab shows you to which micro service a specific request belongs to, which you can use to look up the detailed API specification:

In this case, the API specification is found here: http://cloud.lancom.de/cloud-service-auth/api-docs/



  • Keine Stichwörter