Oms API GET model list - openmpp/openmpp.github.io GitHub Wiki

Get list of the models.

Method:

GET /api/model-list

Call example:

http://localhost:4040/api/model-list

Return example: This is a beta version and may change in the future.

[
  {
    "Model": {
      "ModelId": 101,
      "Name": "HPVMM",
      "Digest": "0636a04c5462b376b652132196095c22",
      "Type": 1,
      "Version": "1.9.2.0",
      "CreateDateTime": "2023-03-20 11:02:11.404",
      "DefaultLangCode": "EN"
    },
    "Dir": "HPVMM-1.9.2.0",
    "DbPath": "HPVMM-1.9.2.0/HPVMM.sqlite"
  },
  {
    "Model": {
      "ModelId": 101,
      "Name": "RiskPaths",
      "Digest": "d90e1e9a49a06d972ecf1d50e684c62b",
      "Type": 0,
      "Version": "3.0.0.0",
      "CreateDateTime": "2024-02-16 20:32:48.521",
      "DefaultLangCode": "EN"
    },
    "Dir": ".",
    "DbPath": "RiskPaths.sqlite"
  }
]
⚠️ **GitHub.com Fallback** ⚠️