Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
30d62f44
Commit
30d62f44
authored
Nov 30, 2017
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add docs
parent
49c55ec7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
doc/api/geo_nodes.md
doc/api/geo_nodes.md
+33
-0
No files found.
doc/api/geo_nodes.md
View file @
30d62f44
...
...
@@ -139,3 +139,36 @@ Example response:
"last_successful_status_check_timestamp"
:
1510125268
}
```
## Retrieve project sync failures ocurred on a specific node (only available for the current node)
```
GET /geo_nodes/:id/failures
```
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
|
`type`
| string | no | Type of failure (repository/wiki) |
This function takes pagination parameters
`page`
and
`per_page`
to limit the list of failures.
```
bash
curl
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v4/geo_nodes/2/failures
```
Example response:
```
json
{
"project_id"
:
3
,
"last_repository_synced_at"
:
"2017-10-31 14:25:55 UTC"
,
"last_repository_successful_sync_at"
:
"2017-10-31 14:26:04 UTC"
,
"last_wiki_synced_at"
:
"2017-10-31 14:26:04 UTC"
,
"last_wiki_successful_sync_at"
:
"2017-10-31 14:26:11 UTC"
,
"repository_retry_count"
:
null
,
"wiki_retry_count"
:
1
,
"last_repository_sync_failure"
:
null
,
"last_wiki_sync_failure"
:
"Error syncing Wiki repository"
}
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment