PUT Model Parameter
- PUT /api/models/(mid)/parameters/(aid)
Stores a model parameter (name / value pair) artifact. The value is a JSON expression and may be arbitrarily complex.
- Parameters:
mid (string) – Unique model identifier.
aid (string) – Unique artifact id (parameter name).
- Request Headers:
Content-Type – application/json
- Request JSON Object:
value (object) – New parameter value.
input (bool) – Set to true if the parameter is a model input.
Sample Request
PUT /api/models/1385a75dd2eb4faba884cefdd0b94a56/parameters/baz HTTP/1.1 { value : [1, 2, 3], input : true }
Sample Response
HTTP/1.1 200 OK Date: Mon, 25 Nov 2013 20:36:04 GMT Content-Length: 0 Content-Type: text/html;charset=utf-8 Server: CherryPy/3.2.2