MngGetGateway¶
Returns one gateway configuration. Requires SESSION_ADMIN.
HTTP: GET /gateway/:id
{"command":"MngGetGateway","id":1}
{"gateway":{"id":1,"name":"Mock LP","description":"Transport test","type":"MOCK","binary":"mock/mock_gateway","enabled":true,"bind_host":"127.0.0.1","port":0,"provider_config":{"environment":"test"},"startup_timeout_ms":10000,"heartbeat_interval_ms":1000,"heartbeat_timeout_ms":5000,"restart_enabled":true,"restart_initial_delay_ms":500,"restart_max_delay_ms":10000,"created_at":1785300000,"updated_at":1785300000}}
id must be a positive integer. Returns RET_NOT_FOUND when the gateway does not exist. The complete provider_config is visible to the admin session.