@@ -31,7 +31,6 @@ Use `/api/workers/...` for worker-only targets (experiment-scoped jobs/logs) and
3131
3232
3333-----
34-
3534## Get Automation Descriptors
3635
3736Get Automation Descriptors endpoint.
@@ -52,7 +51,9 @@ Get Automation Descriptors endpoint.
5251
5352** Status:** ` 200 OK `
5453
55- _ No response body example inferred._
54+ ``` json
55+ " <descriptors>"
56+ ```
5657
5758## Get Bioreactor Variable Descriptors
5859
@@ -84,12 +85,12 @@ Get Chart Descriptors endpoint.
8485
8586_ No response body example inferred._
8687
87- ## Get Config Files
88+ ## Get Shared Config
8889
89- get a list of all config.ini files in the .pioreactor folder, _ and _ are part of the inventory _ or _ are leader
90+ Get Shared Config endpoint.
9091
9192### Endpoint
92- ` GET /api/config/files `
93+ ` GET /api/config/shared `
9394
9495### Response
9596
@@ -99,74 +100,117 @@ get a list of all config.ini files in the .pioreactor folder, _and_ are part of
99100
100101_ No response body example inferred._
101102
102- ## Get Config File
103+ ## Update Shared Config
103104
104- get a specific config.ini file in the .pioreactor folder
105+ Update Shared Config endpoint.
105106
106107### Endpoint
107- ` GET /api/config/files/{filename} `
108+ ` PATCH /api/config/shared `
108109
109110### Request
110111
111- #### Path Parameters
112- | Name | Type | Required | Description |
113- | ---- | ---- | -------- | ----------- |
114- | filename | string | Yes | Filename. |
112+ #### Request Body
113+ ``` json
114+ {
115+ "code" : " <value>"
116+ }
117+ ```
115118
116119### Response
117120
118121#### Success
119122
120123** Status:** ` 200 OK `
121124
122- _ No response body example inferred._
125+ ``` json
126+ {
127+ "status" : " success"
128+ }
129+ ```
123130
124- ## Update Config File
131+ ## Get Shared Config History
125132
126- Update Config File endpoint.
133+ Get Shared Config History endpoint.
127134
128135### Endpoint
129- ` PATCH /api/config/files/{filename} `
136+ ` GET /api/config/shared/history `
137+
138+ ### Response
139+
140+ #### Success
141+
142+ ** Status:** ` 200 OK `
143+
144+ ``` json
145+ " <configs_for_filename>"
146+ ```
147+
148+ ## Get Config For Pioreactor Unit
149+
150+ get merged config for a pioreactor unit
151+
152+ ### Endpoint
153+ ` GET /api/config/units/{pioreactor_unit} `
130154
131155### Request
132156
133157#### Path Parameters
134158| Name | Type | Required | Description |
135159| ---- | ---- | -------- | ----------- |
136- | filename | string | Yes | Filename. |
160+ | pioreactor_unit | string | Yes | Unit name or ` $broadcast ` where supported. |
161+
162+ ### Response
163+
164+ #### Success
165+
166+ ** Status:** ` 200 OK `
137167
138- #### Request Body
139168``` json
140- {
141- "code" : " <value>"
142- }
169+ " <result>"
143170```
144171
172+ ## Get Specific Config For Pioreactor Unit
173+
174+ Get Specific Config For Pioreactor Unit endpoint.
175+
176+ ### Endpoint
177+ ` GET /api/config/units/{pioreactor_unit}/specific `
178+
179+ ### Request
180+
181+ #### Path Parameters
182+ | Name | Type | Required | Description |
183+ | ---- | ---- | -------- | ----------- |
184+ | pioreactor_unit | string | Yes | Unit name or ` $broadcast ` where supported. |
185+
145186### Response
146187
147188#### Success
148189
149190** Status:** ` 200 OK `
150191
151- ``` json
152- {
153- "status" : " success"
154- }
155- ```
192+ _ No response body example inferred._
156193
157- ## Get Config File History
194+ ## Update Specific Config For Pioreactor Unit
158195
159- Get Config File History endpoint.
196+ Update Specific Config For Pioreactor Unit endpoint.
160197
161198### Endpoint
162- ` GET /api/config/files/{filename}/history `
199+ ` PATCH /api/config/units/{pioreactor_unit}/specific `
163200
164201### Request
165202
166203#### Path Parameters
167204| Name | Type | Required | Description |
168205| ---- | ---- | -------- | ----------- |
169- | filename | string | Yes | Filename. |
206+ | pioreactor_unit | string | Yes | Unit name or ` $broadcast ` where supported. |
207+
208+ #### Request Body
209+ ``` json
210+ {
211+ "code" : " <value>"
212+ }
213+ ```
170214
171215### Response
172216
@@ -175,15 +219,17 @@ Get Config File History endpoint.
175219** Status:** ` 200 OK `
176220
177221``` json
178- " <configs_for_filename>"
222+ {
223+ "status" : " success"
224+ }
179225```
180226
181- ## Get Config For Pioreactor Unit
227+ ## Get Specific Config History For Pioreactor Unit
182228
183- get merged config for a pioreactor unit
229+ Get Specific Config History For Pioreactor Unit endpoint.
184230
185231### Endpoint
186- ` GET /api/config/units/{pioreactor_unit} `
232+ ` GET /api/config/units/{pioreactor_unit}/specific/history `
187233
188234### Request
189235
@@ -199,7 +245,7 @@ get merged config for a pioreactor unit
199245** Status:** ` 200 OK `
200246
201247``` json
202- " <result >"
248+ " <configs_for_filename >"
203249```
204250
205251## Get Exportable Datasets
@@ -1064,9 +1110,7 @@ Get Experiments Worker Assignments endpoint.
10641110
10651111** Status:** ` 200 OK `
10661112
1067- ``` json
1068- []
1069- ```
1113+ _ No response body example inferred._
10701114
10711115## Get Latest Experiment
10721116
@@ -1130,7 +1174,9 @@ Get Job Descriptors endpoint.
11301174
11311175** Status:** ` 200 OK `
11321176
1133- _ No response body example inferred._
1177+ ``` json
1178+ " <descriptors>"
1179+ ```
11341180
11351181## Get Local Access Point
11361182
@@ -2287,6 +2333,65 @@ Set Active Estimator endpoint.
22872333}
22882334```
22892335
2336+ ## Get Automation Descriptors For Worker
2337+
2338+ Get Automation Descriptors For Worker endpoint.
2339+
2340+ ### Endpoint
2341+ ` GET /api/workers/{pioreactor_unit}/automations/descriptors/{automation_type} `
2342+
2343+ ### Request
2344+
2345+ #### Path Parameters
2346+ | Name | Type | Required | Description |
2347+ | ---- | ---- | -------- | ----------- |
2348+ | pioreactor_unit | string | Yes | Unit name or ` $broadcast ` where supported. |
2349+ | automation_type | string | Yes | Automation type. |
2350+
2351+ ### Response
2352+
2353+ #### Success
2354+
2355+ ** Status:** ` 200 OK `
2356+
2357+ _ No response body example inferred._
2358+
2359+ ## Update Bioreactor On Unit
2360+
2361+ Update Bioreactor On Unit endpoint.
2362+
2363+ ### Endpoint
2364+ ` PATCH /api/workers/{pioreactor_unit}/bioreactor/update/experiments/{experiment} `
2365+
2366+ ### Request
2367+
2368+ #### Path Parameters
2369+ | Name | Type | Required | Description |
2370+ | ---- | ---- | -------- | ----------- |
2371+ | pioreactor_unit | string | Yes | Unit name or ` $broadcast ` where supported. |
2372+ | experiment | string | Yes | Experiment identifier. |
2373+
2374+ #### Request Body
2375+ ``` json
2376+ {
2377+ "values" : " <value>"
2378+ }
2379+ ```
2380+
2381+ ### Response
2382+
2383+ #### Success
2384+
2385+ ** Status:** ` 202 Accepted `
2386+
2387+ ``` json
2388+ {
2389+ "unit" : " <unit>" ,
2390+ "task_id" : " <task_id>" ,
2391+ "result_url_path" : " /unit_api/task_results/<task_id>"
2392+ }
2393+ ```
2394+
22902395## Blink Worker
22912396
22922397Blink Worker endpoint.
@@ -2769,42 +2874,6 @@ Get Experiment Assignment For Worker endpoint.
27692874" <result>"
27702875```
27712876
2772- ## Update Bioreactor On Unit
2773-
2774- Update Bioreactor On Unit endpoint.
2775-
2776- ### Endpoint
2777- ` PATCH /api/workers/{pioreactor_unit}/experiments/{experiment}/bioreactor `
2778-
2779- ### Request
2780-
2781- #### Path Parameters
2782- | Name | Type | Required | Description |
2783- | ---- | ---- | -------- | ----------- |
2784- | pioreactor_unit | string | Yes | Unit name or ` $broadcast ` where supported. |
2785- | experiment | string | Yes | Experiment identifier. |
2786-
2787- #### Request Body
2788- ``` json
2789- {
2790- "values" : " <value>"
2791- }
2792- ```
2793-
2794- ### Response
2795-
2796- #### Success
2797-
2798- ** Status:** ` 202 Accepted `
2799-
2800- ``` json
2801- {
2802- "unit" : " <unit>" ,
2803- "task_id" : " <task_id>" ,
2804- "result_url_path" : " /unit_api/task_results/<task_id>"
2805- }
2806- ```
2807-
28082877## Get Logs For Unit And Experiment
28092878
28102879Shows event logs from specific unit and experiment, uses pagination.
@@ -3090,6 +3159,28 @@ Change Worker Status endpoint.
30903159}
30913160```
30923161
3162+ ## Get Job Descriptors For Worker
3163+
3164+ Get Job Descriptors For Worker endpoint.
3165+
3166+ ### Endpoint
3167+ ` GET /api/workers/{pioreactor_unit}/jobs/descriptors `
3168+
3169+ ### Request
3170+
3171+ #### Path Parameters
3172+ | Name | Type | Required | Description |
3173+ | ---- | ---- | -------- | ----------- |
3174+ | pioreactor_unit | string | Yes | Unit name or ` $broadcast ` where supported. |
3175+
3176+ ### Response
3177+
3178+ #### Success
3179+
3180+ ** Status:** ` 200 OK `
3181+
3182+ _ No response body example inferred._
3183+
30933184## Run Job On Unit In Experiment
30943185
30953186Runs specified job on unit.
0 commit comments