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
d529c8f6
Commit
d529c8f6
authored
Jun 27, 2019
by
Mathieu Parent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update json for "Get single project" doc
parent
32bbb52c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
69 deletions
+62
-69
doc/api/projects.md
doc/api/projects.md
+62
-69
No files found.
doc/api/projects.md
View file @
d529c8f6
...
...
@@ -483,95 +483,88 @@ GET /projects/:id
```
json
{
"id"
:
3
,
"description"
:
null
,
"id"
:
26
,
"description"
:
"My amazing project"
,
"name"
:
"myproject"
,
"name_with_namespace"
:
"mygroup / myproject"
,
"path"
:
"myproject"
,
"path_with_namespace"
:
"mygroup/myproject"
,
"created_at"
:
"2019-06-27T12:32:51.444Z"
,
"default_branch"
:
"master"
,
"visibility"
:
"private"
,
"ssh_url_to_repo"
:
"git@example.com:diaspora/diaspora-project-site.git"
,
"http_url_to_repo"
:
"http://example.com/diaspora/diaspora-project-site.git"
,
"web_url"
:
"http://example.com/diaspora/diaspora-project-site"
,
"readme_url"
:
"http://example.com/diaspora/diaspora-project-site/blob/master/README.md"
,
"tag_list"
:
[
"
example
"
,
"
disapora project
"
"
topic1
"
,
"
topic2
"
],
"owner"
:
{
"id"
:
3
,
"name"
:
"Diaspora"
,
"created_at"
:
"2013-09-30T13:46:02Z"
},
"name"
:
"Diaspora Project Site"
,
"name_with_namespace"
:
"Diaspora / Diaspora Project Site"
,
"path"
:
"diaspora-project-site"
,
"path_with_namespace"
:
"diaspora/diaspora-project-site"
,
"issues_enabled"
:
true
,
"open_issues_count"
:
1
,
"merge_requests_enabled"
:
true
,
"jobs_enabled"
:
true
,
"wiki_enabled"
:
true
,
"snippets_enabled"
:
false
,
"resolve_outdated_diff_discussions"
:
false
,
"container_registry_enabled"
:
false
,
"created_at"
:
"2013-09-30T13:46:02Z"
,
"last_activity_at"
:
"2013-09-30T13:46:02Z"
,
"creator_id"
:
3
,
"ssh_url_to_repo"
:
"git@gitlab.example.com:mygroup/myproject.git"
,
"http_url_to_repo"
:
"http://gitlab.example.com/mygroup/myproject.git"
,
"web_url"
:
"http://gitlab.example.com/mygroup/myproject"
,
"readme_url"
:
"http://gitlab.example.com/mygroup/myproject/blob/master/README.md"
,
"avatar_url"
:
null
,
"star_count"
:
0
,
"forks_count"
:
0
,
"last_activity_at"
:
"2019-06-27T12:32:51.444Z"
,
"namespace"
:
{
"id"
:
3
,
"name"
:
"
Diaspora
"
,
"path"
:
"
diaspora
"
,
"id"
:
2
3
,
"name"
:
"
mygroup
"
,
"path"
:
"
mygroup
"
,
"kind"
:
"group"
,
"full_path"
:
"diaspora"
,
"avatar_url"
:
"http://localhost:3000/uploads/group/avatar/3/foo.jpg"
,
"web_url"
:
"http://localhost:3000/groups/diaspora"
"full_path"
:
"mygroup"
,
"parent_id"
:
null
,
"avatar_url"
:
null
,
"web_url"
:
"http://gitlab.example.com/groups/mygroup"
},
"import_status"
:
"none"
,
"import_error"
:
null
,
"permissions"
:
{
"project_access"
:
{
"access_level"
:
10
,
"notification_level"
:
3
},
"group_access"
:
{
"access_level"
:
50
,
"notification_level"
:
3
}
"_links"
:
{
"self"
:
"http://gitlab.example.com/api/v4/projects/26"
,
"issues"
:
"http://gitlab.example.com/api/v4/projects/26/issues"
,
"merge_requests"
:
"http://gitlab.example.com/api/v4/projects/26/merge_requests"
,
"repo_branches"
:
"http://gitlab.example.com/api/v4/projects/26/repository/branches"
,
"labels"
:
"http://gitlab.example.com/api/v4/projects/26/labels"
,
"events"
:
"http://gitlab.example.com/api/v4/projects/26/events"
,
"members"
:
"http://gitlab.example.com/api/v4/projects/26/members"
},
"empty_repo"
:
false
,
"archived"
:
false
,
"avatar_url"
:
"http://example.com/uploads/project/avatar/3/uploads/avatar.png"
,
"license_url"
:
"http://example.com/diaspora/diaspora-client/blob/master/LICENSE"
,
"license"
:
{
"key"
:
"lgpl-3.0"
,
"name"
:
"GNU Lesser General Public License v3.0"
,
"nickname"
:
"GNU LGPLv3"
,
"html_url"
:
"http://choosealicense.com/licenses/lgpl-3.0/"
,
"source_url"
:
"http://www.gnu.org/licenses/lgpl-3.0.txt"
},
"visibility"
:
"private"
,
"resolve_outdated_diff_discussions"
:
false
,
"container_registry_enabled"
:
true
,
"issues_enabled"
:
true
,
"merge_requests_enabled"
:
true
,
"wiki_enabled"
:
true
,
"jobs_enabled"
:
true
,
"snippets_enabled"
:
true
,
"shared_runners_enabled"
:
true
,
"forks_count"
:
0
,
"star_count"
:
0
,
"runners_token"
:
"b8bc4a7a29eb76ea83cf79e4908c2b"
,
"lfs_enabled"
:
true
,
"creator_id"
:
1
,
"import_status"
:
"none"
,
"import_error"
:
null
,
"open_issues_count"
:
0
,
"runners_token"
:
"sQewQBDHAMkqnMFVXzuW"
,
"ci_default_git_depth"
:
50
,
"public_jobs"
:
true
,
"ci_config_path"
:
null
,
"shared_with_groups"
:
[
{
"group_id"
:
4
,
"group_name"
:
"Twitter"
,
"group_full_path"
:
"twitter"
,
"group_access_level"
:
30
},
{
"group_id"
:
3
,
"group_name"
:
"Gitlab Org"
,
"group_full_path"
:
"gitlab-org"
,
"group_access_level"
:
10
"group_name"
:
"test"
,
"group_full_path"
:
"test"
,
"group_access_level"
:
30
,
"expires_at"
:
null
}
],
"repository_storage"
:
"default"
,
"only_allow_merge_if_pipeline_succeeds"
:
false
,
"only_allow_merge_if_all_discussions_are_resolved"
:
false
,
"printing_merge_requests_link_enabled"
:
true
,
"request_access_enabled"
:
false
,
"only_allow_merge_if_all_discussions_are_resolved"
:
false
,
"printing_merge_request_link_enabled"
:
true
,
"merge_method"
:
"merge"
,
"external_authorization_classification_label"
:
null
,
"permissions"
:
{
"project_access"
:
null
,
"group_access"
:
{
"access_level"
:
50
,
"notification_level"
:
3
}
},
"statistics"
:
{
"commit_count"
:
37
,
"storage_size"
:
1038090
,
...
...
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