| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -74,10 +74,10 @@ Register a new runner:: | |||
| 74 | 74 | .. note:: | |
| 75 | 75 | ||
| 76 | 76 | A new runner registration workflow has been introduced since GitLab 16.0. This new | |
| 77 | - workflow comes with a new API endpoint to create runner, which does not use | ||
| 77 | + workflow comes with a new API endpoint to create runners, which does not use | ||
| 78 | 78 | registration tokens. | |
| 79 | 79 | ||
| 80 | - The new endpoint can be called using ``user.runners.create()``. | ||
| 80 | + The new endpoint can be called using ``gl.user.runners.create() after authenticating with `gl.auth()```. | ||
| 81 | 81 | ||
| 82 | 82 | Update a runner:: | |
| 83 | 83 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -249,7 +249,7 @@ def resp_runner_create(): | |||
| 249 | 249 | url="http://localhost/api/v4/user/runners", | |
| 250 | 250 | json={"id": "6", "token": "6337ff461c94fd3fa32ba3b1ff4125"}, | |
| 251 | 251 | content_type="application/json", | |
| 252 | - status=200, | ||
| 252 | + status=201, | ||
| 253 | 253 | ) | |
| 254 | 254 | yield rsps | |
| 255 | 255 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments