Commit 52e8ca14 authored by Mike Kozono's avatar Mike Kozono

Add example to create a Geo Node

parent 0599aa0c
...@@ -11,6 +11,13 @@ Creates a new Geo node. ...@@ -11,6 +11,13 @@ Creates a new Geo node.
POST /geo_nodes 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 | | Attribute | Type | Required | Description |
| ----------------------------| ------- | -------- | -----------------------------------------------------------------| | ----------------------------| ------- | -------- | -----------------------------------------------------------------|
| `primary` | boolean | no | Specifying whether this node will be primary. Defaults to false. | | `primary` | boolean | no | Specifying whether this node will be primary. Defaults to false. |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment