simulator

Discover Configurations

Changed on

Detects reportable conditions found in uploaded_file and matches them with existing configurations.

Configurations are returned to the client.

Args: uploaded_file (UploadFile | None, optional): The eCR file package uploaded by the user. simulator_zip_path (Path, optional): The path to the demo zip file. user (DbUser, optional): The logged in user. db (AsyncDatabaseConnection, optional): The database connection. logger (Logger, optional): The app logger.

Returns: DiscoveredConfigurationsResponse: Matching configurations, grouped by condition.

post/api/v1/simulator/discover-configurations

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body multipart/form-data

BodyDiscoverConfigurations required
uploaded_file, string binary nullable

Response

Successful Response

DiscoveredConfigurationsResponse required

Model to represent the sets of discovered configurations to return to the client.

sets, DiscoveredConfigurationSet[] required

Changes

    • breaking

      removed the required property sets/items/name from the response with the status

    • info

      added the required property sets/items/display_name to the response with the status

    • info

      endpoint added