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

Get model profile. Profile is a set of key-value options, similar to ini-file, which can be used to run the model. Please keep in mind, there is no actual link between profiles and models and any profile can be applied to run any model (it is by design, similar to ini-file).

Methods:

GET /api/model/:model/profile/:profile

Arguments:

:model - (required) model digest or model name

Model can be identified by digest or by model name. It is recommended to use digest because it is uniquely identifies model. It is possible to use model name, which is more human readable than digest, but if there are multiple models with same name in database than result is undefined.

:profile - (required) profile name

Profile name is unique per database.

Call examples:

http://localhost:4040/api/model/modelOne/profile/modelOne

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

{
  "Name": "modelOne",
  "Opts": {
    "OpenM.SparseOutput": "true",
    "Parameter.StartingSeed": "1023"
  }
}
⚠️ **GitHub.com Fallback** ⚠️