You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -214,3 +214,27 @@ Default: `true`
214
214
Type: bool
215
215
Description: Run `puppet generate types` after updating an environment
216
216
Default: `true`
217
+
218
+
## Usage
219
+
220
+
Webhook API provides following paths
221
+
222
+
### GET /health
223
+
224
+
Get health assessment about the Webhook API server
225
+
226
+
### GET /api/v1/queue
227
+
228
+
Get current queue status of the Webhook API server
229
+
230
+
### POST /api/v1/r10k/environment
231
+
232
+
Updates a given puppet environment, ie. `r10k deploy environment`. This only updates a specific environment governed by the branch name.
233
+
234
+
### POST /api/v1/r10k/module
235
+
236
+
Updates a puppet module, ie. `r10k deploy module`. The default behaviour of r10k is to update the module in all environments that have it. Module name defaults to the git repository name.
237
+
238
+
Available URL arguments (`?argument=value`):
239
+
* branch_only - If set, this will only update the module in an environment set by the branch, as opposed to all environments. This is equivalent to the `--environment` r10k option.
240
+
* module_name - Sometimes git repository and module name cannot have the same name due to arbitrary naming restrictions. This option forces the module name to be the given value instead of repository name.
0 commit comments