SCC API
API to gather the specific data out of the Swarm Control Center
Every setting and information available in the Control Center can be gathered via an API. The Swagger documentation for our demo instance as an example can be found here: Swagger UI
Generally we stick to the following OAUTH flow documented here OAuth 2.0 client credentials flow on the Microsoft identity platform - Microsoft Entra
Make sure to add your tenant ID as a header in the authentication flow.
How to gather the URL for your specific API
To gather the first part of the URL for your specific API Documentation/Swagger UI you can either contact our support or grab it from the source code of your Control Center.
Example
Retrieve the device monitoring status
Go to the Swagger UI
2. The API call above will give you the status of a device and returns the following:
3. The states are defined in the API documentation below
4. You can as well get the state of the individual streams. The API returns the following:
Last updated