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 -- Model store name.

Return Values

Dataset information of the model store is returned. See dataset_info for details.

Execution 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"
}