File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,10 @@ Register a new runner::
7474.. note ::
7575
7676 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
7878 registration tokens.
7979
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()` ``.
8181
8282Update a runner::
8383
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ def resp_runner_create():
249249 url = "http://localhost/api/v4/user/runners" ,
250250 json = {"id" : "6" , "token" : "6337ff461c94fd3fa32ba3b1ff4125" },
251251 content_type = "application/json" ,
252- status = 200 ,
252+ status = 201 ,
253253 )
254254 yield rsps
255255
You can’t perform that action at this time.
0 commit comments