mmmn API Interface

Access real-time data streams, perform async operations, and trigger events through our RESTful endpoints.

Authentication

All endpoints require an Authorization Bearer token with scope api.

Authorization: Bearer <your_api_key>
Accept: application/json

Endpoints

Real-time Data Stream

Open a persistent connection for continuous data updates.

GET /data-stream/channel
Query Params: refreshRate, format
SSE Secure

Action Endpoint

Trigger operations across the network with a single request.

POST /action-trigger
{
type: "restart",
target: "node_12",
params: {} }
POST Secure

Try the API

Preview of response will appear here...

JavaScript Example

fetch('https://api.mmmn.dev/data-stream', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer your_api_key',
    'Accept': 'application/json'
  }
})
.then(response => response.json())
.then(data => console.log(data));
                        

Replace your_api_key with your API token.

API Best Practices