Skip to content

model_store.create

Note

This document has been machine translated.

Creates a new Model Store.

If the Model Store specified in the parameters already exists, this method does nothing.

Parameters

  • model_store_ddc (string): The name of the Model Store.

Return Value

The dataset information of the Model Store is returned. For details, refer to dataset_info.

Example

Request Data

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "model_store.create",
  "params": {
    "model_store_ddc": "my_store"
  }
}

Request Execution

curl -H "Content-type: application/json" \
     -H "APIKey: 9c6f4574-89d1-4e3c-8af7-2549dc217fcf" \
     -H "Secret: aef8caingiej1ieNieJ3Phool4maeGohcies" \
     -X POST -d "@request.json" \
     https://localhost/api/v2/model_store/jsonrpc

Response

{
  "result": {
    "id": 1,
    "session_id": null,
    "usename": "evwh_admin",
    "ddc_type": "table",
    "short_form": "my_store",
    "long_form": "my_store_1752120738.15576",
    "realname": "provenance.prov_510c8c7d7e1da4880741231d3c6dcfa4",
    "created_at": {
      "_type": "datetime",
      "val": "2025-07-10T13:12:18.155760+09:00"
    },
    "committed_at": null,
    "prepared_activity_id": null
  },
  "id": 1,
  "jsonrpc": "2.0"
}