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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
6b02e366
Commit
6b02e366
authored
Jul 05, 2018
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention the forked_from_project field in projects API
parent
3bdaeb94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
doc/api/projects.md
doc/api/projects.md
+33
-0
No files found.
doc/api/projects.md
View file @
6b02e366
...
...
@@ -511,6 +511,39 @@ GET /projects/:id
}
```
If the project is a fork, and you provide a valid token to authenticate, the
`forked_from_project`
field will appear in the response.
```
json
{
"id"
:
3
,
...
"forked_from_project"
:{
"id"
:
13083
,
"description"
:
"GitLab Community Edition"
,
"name"
:
"GitLab Community Edition"
,
"name_with_namespace"
:
"GitLab.org / GitLab Community Edition"
,
"path"
:
"gitlab-ce"
,
"path_with_namespace"
:
"gitlab-org/gitlab-ce"
,
"created_at"
:
"2013-09-26T06:02:36.000Z"
,
"default_branch"
:
"master"
,
"tag_list"
:[],
"ssh_url_to_repo"
:
"git@gitlab.com:gitlab-org/gitlab-ce.git"
,
"http_url_to_repo"
:
"https://gitlab.com/gitlab-org/gitlab-ce.git"
,
"web_url"
:
"https://gitlab.com/gitlab-org/gitlab-ce"
,
"avatar_url"
:
"https://assets.gitlab-static.net/uploads/-/system/project/avatar/13083/logo-extra-whitespace.png"
,
"star_count"
:
3812
,
"forks_count"
:
3561
,
"last_activity_at"
:
"2018-01-02T11:40:26.570Z"
}
...
}
```
## Get project users
Get the users list of a project.
...
...
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