Skip to content

model_store.model.get

Note

This document has been machine translated.

Retrieves a record in the model store by specifying a model ID.

This method returns the model data itself as an API response, not JSON-RPC. See the execution example for details.

Parameters

  • model_store_ddc: string -- Model store name.
  • model_id: string -- model ID.

Return Values

Model data is returned.

Execution example

Request Data

{
  "model_store_ddc": "my_store",
  "model_id": "4da3acd8-4641-4687-a7e6-db4d7ae4ad5c"
}

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/download/model_store.model.get \
> model.dat

Response

レスポンスとしてモデルデータが戻されます。