Please note that the `health_status` parameter can only be in an "Healthy" or "Unhealthy" state, while the `health` parameter can be empty, "Healthy", or contain the actual error message.
Please note that the `health_status` parameter can only be in an "Healthy" or "Unhealthy" state, while the `health` parameter can be empty, "Healthy", or contain the actual error message.
## Retrieve project sync failures that occurred on the current node
## Retrieve project sync or verification failures that occurred on the current node
This only works on a secondary node.
```
```
GET /geo_nodes/current/failures
GET /geo_nodes/current/failures
...
@@ -347,7 +348,8 @@ GET /geo_nodes/current/failures
...
@@ -347,7 +348,8 @@ GET /geo_nodes/current/failures
| Attribute | Type | Required | Description |
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| --------- | ---- | -------- | ----------- |
| `type` | string | no | Type of failure (`repository`/`wiki`) |
| `type` | string | no | Type of failed objects (`repository`/`wiki`) |
| `failure_type` | string | no | Type of failures (`sync`/`checksum_mismatch`/`verification`) |
This endpoint uses [Pagination](README.md#pagination).
This endpoint uses [Pagination](README.md#pagination).
...
@@ -368,7 +370,13 @@ Example response:
...
@@ -368,7 +370,13 @@ Example response:
"repository_retry_count":null,
"repository_retry_count":null,
"wiki_retry_count":1,
"wiki_retry_count":1,
"last_repository_sync_failure":null,
"last_repository_sync_failure":null,
"last_wiki_sync_failure":"Error syncing Wiki repository"
"last_wiki_sync_failure":"Error syncing Wiki repository",