MngGetGatewaysRuntime¶
Returns the current runtime snapshot ordered by gateway id. Requires SESSION_ADMIN.
HTTP: GET /gateways/runtime
{"command":"MngGetGatewaysRuntime"}
{"rows":[{"gateway_id":1,"state":"READY","state_id":6,"pid":32145,"local_port":41763,"instance_id":"gw-1-a12b34cd","provider_state":"READY","config_version":3,"sent_sequence":2,"received_sequence":18,"started_at":1785300000,"connected_at":1785300001,"ready_at":1785300001,"last_heartbeat_at":1785300018,"last_exit_at":0,"last_exit_code":0,"restart_count":0,"last_error":""}],"snapshot_version":24}
Disabled and manually stopped gateways without a runtime context are not included. Use MngGetGateways for the complete configuration list.