diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-30 18:09:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-30 18:09:15 +0300 |
commit | 536aa3a1f4b96abc4ca34489bf2cbe503afcded7 (patch) | |
tree | 88d08f7dfa29a32d6526773c4fe0fefd9f2bc7d1 /doc/api/geo_nodes.md | |
parent | 50ae4065530c4eafbeb7c5ff2c462c48c02947ca (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/geo_nodes.md')
-rw-r--r-- | doc/api/geo_nodes.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/geo_nodes.md b/doc/api/geo_nodes.md index 18c4dd1bc8f..83a00cf3f10 100644 --- a/doc/api/geo_nodes.md +++ b/doc/api/geo_nodes.md @@ -11,7 +11,7 @@ Creates a new Geo node. POST /geo_nodes ``` -```bash +```shell curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/geo_nodes \ --request POST \ -d "name=himynameissomething" \ @@ -72,7 +72,7 @@ Example response: GET /geo_nodes ``` -```bash +```shell curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/geo_nodes ``` @@ -139,7 +139,7 @@ Example response: GET /geo_nodes/:id ``` -```bash +```shell curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/geo_nodes/1 ``` @@ -286,7 +286,7 @@ Example response: GET /geo_nodes/status ``` -```bash +```shell curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/geo_nodes/status ``` @@ -445,7 +445,7 @@ In GitLab 12.0, deprecated fields `wikis_count` and `repositories_count` were re GET /geo_nodes/:id/status ``` -```bash +```shell curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/geo_nodes/2/status ``` @@ -523,7 +523,7 @@ GET /geo_nodes/current/failures This endpoint uses [Pagination](README.md#pagination). -```bash +```shell curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/geo_nodes/current/failures ``` |