summaryrefslogtreecommitdiff
path: root/doc/api/geo_nodes.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/geo_nodes.md')
-rw-r--r--doc/api/geo_nodes.md20
1 files changed, 12 insertions, 8 deletions
diff --git a/doc/api/geo_nodes.md b/doc/api/geo_nodes.md
index 820f78853d0..12f785a3e3d 100644
--- a/doc/api/geo_nodes.md
+++ b/doc/api/geo_nodes.md
@@ -12,7 +12,7 @@ POST /geo_nodes
```
```shell
-curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/geo_nodes \
+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/"
@@ -73,7 +73,7 @@ GET /geo_nodes
```
```shell
-curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/geo_nodes
+curl --header "PRIVATE-TOKEN: <your_access_token>" "https://primary.example.com/api/v4/geo_nodes"
```
Example response:
@@ -140,7 +140,7 @@ GET /geo_nodes/:id
```
```shell
-curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/geo_nodes/1
+curl --header "PRIVATE-TOKEN: <your_access_token>" "https://primary.example.com/api/v4/geo_nodes/1"
```
Example response:
@@ -287,7 +287,7 @@ GET /geo_nodes/status
```
```shell
-curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/geo_nodes/status
+curl --header "PRIVATE-TOKEN: <your_access_token>" "https://primary.example.com/api/v4/geo_nodes/status"
```
Example response:
@@ -366,7 +366,9 @@ Example response:
"revision": "33d33a096a",
"package_files_count": 10,
"package_files_checksummed_count": 10,
- "package_files_checksum_failed_count": 0
+ "package_files_checksum_failed_count": 0,
+ "package_files_synced_count": 10,
+ "package_files_failed_count": 5
},
{
"geo_node_id": 2,
@@ -437,7 +439,9 @@ Example response:
"revision": "33d33a096a",
"package_files_count": 10,
"package_files_checksummed_count": 10,
- "package_files_checksum_failed_count": 0
+ "package_files_checksum_failed_count": 0,
+ "package_files_synced_count": 10,
+ "package_files_failed_count": 5
}
]
```
@@ -452,7 +456,7 @@ GET /geo_nodes/:id/status
```
```shell
-curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/geo_nodes/2/status
+curl --header "PRIVATE-TOKEN: <your_access_token>" "https://primary.example.com/api/v4/geo_nodes/2/status"
```
Example response:
@@ -530,7 +534,7 @@ GET /geo_nodes/current/failures
This endpoint uses [Pagination](README.md#pagination).
```shell
-curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/geo_nodes/current/failures
+curl --header "PRIVATE-TOKEN: <your_access_token>" "https://primary.example.com/api/v4/geo_nodes/current/failures"
```
Example response: