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
Kazuhiko Shiozaki
gitlab-ce
Commits
67465dc5
Commit
67465dc5
authored
Feb 19, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix private flag for project
parent
5d72a3e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
doc/api/projects.md
doc/api/projects.md
+3
-3
lib/api/entities.rb
lib/api/entities.rb
+1
-1
No files found.
doc/api/projects.md
View file @
67465dc5
...
...
@@ -21,7 +21,7 @@ GET /projects
"blocked"
:
false
,
"created_at"
:
"2012-05-23T08:00:58Z"
},
"p
rivate
"
:
true
,
"p
ublic
"
:
true
,
"path"
:
"rails"
,
"path_with_namespace"
:
"rails/rails"
,
"issues_enabled"
:
false
,
...
...
@@ -43,7 +43,7 @@ GET /projects
"blocked"
:
false
,
"created_at"
:
"2012-05-23T08:00:58Z"
},
"p
rivate
"
:
true
,
"p
ublic
"
:
true
,
"path"
:
"gitlab"
,
"path_with_namespace"
:
"randx/gitlab"
,
"issues_enabled"
:
true
,
...
...
@@ -81,7 +81,7 @@ Parameters:
"blocked"
:
false
,
"created_at"
:
"2012-05-23T08:00:58Z"
},
"p
rivate
"
:
true
,
"p
ublic
"
:
true
,
"path"
:
"gitlab"
,
"path_with_namespace"
:
"randx/gitlab"
,
"issues_enabled"
:
true
,
...
...
lib/api/entities.rb
View file @
67465dc5
...
...
@@ -20,7 +20,7 @@ module Gitlab
class
Project
<
Grape
::
Entity
expose
:id
,
:name
,
:description
,
:default_branch
expose
:owner
,
using:
Entities
::
UserBasic
expose
:public
,
as: :private
expose
:public
expose
:path
,
:path_with_namespace
expose
:issues_enabled
,
:merge_requests_enabled
,
:wall_enabled
,
:wiki_enabled
,
:created_at
expose
:namespace
...
...
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