Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-16 09:08:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-16 09:08:30 +0300
commit34ab9be97ecf84dd2b7a3b8f3149c0f7d1d7ab5c (patch)
tree9025a7319c4a0bfe3aa3168fa750b183bf33cde1 /doc/api/geo_nodes.md
parent08ed6a867b690a04fe7a74c9ba697cf18f6107d7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/geo_nodes.md')
-rw-r--r--doc/api/geo_nodes.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/api/geo_nodes.md b/doc/api/geo_nodes.md
index 2786d00ebbd..f54694ed15b 100644
--- a/doc/api/geo_nodes.md
+++ b/doc/api/geo_nodes.md
@@ -11,6 +11,13 @@ Creates a new Geo node.
POST /geo_nodes
```
+```bash
+curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/geo_nodes \
+ --request POST \
+ -d "name=himynameissomething" \
+ -d "url=https://another-node.example.com/"
+```
+
| Attribute | Type | Required | Description |
| ----------------------------| ------- | -------- | -----------------------------------------------------------------|
| `primary` | boolean | no | Specifying whether this node will be primary. Defaults to false. |