EMI.CONF.LIST
This method lists all EMI.CONF modules that are present in the system.
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| session | JSON String | yes | Session ID |
Response
| Name | Type | Description |
|---|---|---|
| data | JSON Array | Result array |
Result Array is JSON Array which contains JSON Objects. The contained JSON Object(s) Structure:
{
data:
[
{
"module_name": _JSON String_,
"version": _JSON String_,
"description": _JSON String_,
"author": _JSON String_,
"dependencies": _JSON String_,
"size": _JSON int_,
"friendly_name": _JSON Boolean_,
"binary": _JSON String_,
"priorities": _JSON String_
}, ...
]
}
Error Codes
| Reference | Description |
|---|---|
| EOK | No errors (contains warnings) |
| EGENERAL | Some other error |
| ESESSION | Session with the given ID is not found |
Examples
Request to EMI-RPC Server:
{ "EMI-RPC": "1.0",
"id": 2,
"method": "emi.conf.list",
"params":
{ "session":"", "key":"bridge.*.name ", "rec":FALSE }
}
Response from EMI-RPC Server:
{
"EMI-RPC": "1.0",
"id": 2,
"result":{ "data" : [{},{module_data},… ]}
}
