Actions
Support #8749
closedPipelineInstance script parameters filling
Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
Start date:
03/17/2016
Due date:
% Done:
0%
Estimated time:
Story points:
-
Description
Lets say we've created a PipelineInstance from the PipelineTemplate with several components, each of them has a set of script parameters (e.g. each of Collection dataclass). From now on we can fill this parameters via Workbench, but I need to do this via native Arvados API call (do a HTTP request). How can I handle this?
The thing here is that parameters path inside the PipelineInstance json body is somethig like this:
/components/one_of_the_components/script_parameters/one_of_the_parameters
And you can't PUT the only parameters like this:
PUT https://qr1hi.arvadosapi.com/arvados/v1/pipeline_instances/xyzzy-ldvyl-vyydjeplwaa6emg?pipeline_instance[components][one_of_the_components][script_parameters][one_of_the_parameters]=<portable_datahash>
This would null all the siblings propreties inside the components.
Something like JSON Patch (https://tools.ietf.org/html/rfc6902) would handle this.
Is there the only way to solve this — PUT whole (filled with parameters) components body?
Actions