summaryrefslogtreecommitdiff
path: root/doc/api/geo_nodes.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-27 09:09:01 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-27 09:09:01 +0000
commitc72e5ebe9938d315ec598197873e71a80168d40a (patch)
tree439bf5c40aaf774e5a301825af517cb52726f450 /doc/api/geo_nodes.md
parentffc43b862df32a590eae874bcbb11109b46dc8be (diff)
downloadgitlab-ce-c72e5ebe9938d315ec598197873e71a80168d40a.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/geo_nodes.md')
-rw-r--r--doc/api/geo_nodes.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/api/geo_nodes.md b/doc/api/geo_nodes.md
index 83a00cf3f10..baaa2e2f09f 100644
--- a/doc/api/geo_nodes.md
+++ b/doc/api/geo_nodes.md
@@ -7,7 +7,7 @@ as an admin.
Creates a new Geo node.
-```
+```plaintext
POST /geo_nodes
```
@@ -68,7 +68,7 @@ Example response:
## Retrieve configuration about all Geo nodes
-```
+```plaintext
GET /geo_nodes
```
@@ -135,7 +135,7 @@ Example response:
## Retrieve configuration about a specific Geo node
-```
+```plaintext
GET /geo_nodes/:id
```
@@ -178,7 +178,7 @@ Updates settings of an existing Geo node.
_This can only be run against a primary Geo node._
-```
+```plaintext
PUT /geo_nodes/:id
```
@@ -237,7 +237,7 @@ Removes the Geo node.
NOTE: **Note:**
Only a Geo primary node will accept this request.
-```
+```plaintext
DELETE /geo_nodes/:id
```
@@ -251,7 +251,7 @@ To repair the OAuth authentication of a Geo node.
_This can only be run against a primary Geo node._
-```
+```plaintext
POST /geo_nodes/:id/repair
```
@@ -282,7 +282,7 @@ Example response:
## Retrieve status about all Geo nodes
-```
+```plaintext
GET /geo_nodes/status
```
@@ -441,7 +441,7 @@ In GitLab 12.0, deprecated fields `wikis_count` and `repositories_count` were re
## Retrieve status about a specific Geo node
-```
+```plaintext
GET /geo_nodes/:id/status
```
@@ -512,7 +512,7 @@ In GitLab 12.0, deprecated fields `wikis_count` and `repositories_count` were re
This only works on a secondary node.
-```
+```plaintext
GET /geo_nodes/current/failures
```