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
Boxiang Sun
gitlab-ce
Commits
dd5da9fb
Commit
dd5da9fb
authored
Dec 08, 2017
by
Michael Lihs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix formatting of parameters for new group and transfer project to group
parent
806a68a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
doc/api/groups.md
doc/api/groups.md
+13
-9
No files found.
doc/api/groups.md
View file @
dd5da9fb
...
...
@@ -365,13 +365,15 @@ POST /groups
Parameters:
-
`name`
(required) - The name of the group
-
`path`
(required) - The path of the group
-
`description`
(optional) - The group's description
-
`visibility`
(optional) - The group's visibility. Can be
`private`
,
`internal`
, or
`public`
.
-
`lfs_enabled`
(optional) - Enable/disable Large File Storage (LFS) for the projects in this group
-
`request_access_enabled`
(optional) - Allow users to request member access.
-
`parent_id`
(optional) - The parent group id for creating nested group.
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
|
`name`
| string | yes | The name of the group |
|
`path`
| string | yes | The path of the group |
|
`description`
| string | no | The group's description |
|
`visibility`
| string | no | The group's visibility. Can be
`private`
,
`internal`
, or
`public`
. |
|
`lfs_enabled`
| boolean | no | Enable/disable Large File Storage (LFS) for the projects in this group |
|
`request_access_enabled`
| boolean | no | Allow users to request member access. |
|
`parent_id`
| int | no | The parent group id for creating nested group. |
## Transfer project to group
...
...
@@ -383,8 +385,10 @@ POST /groups/:id/projects/:project_id
Parameters:
-
`id`
(required) - The ID or
[
URL-encoded path of the group
](
README.md#namespaced-path-encoding
)
owned by the authenticated user
-
`project_id`
(required) - The ID or path of a project
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
|
`id`
| integer/string | yes | The ID or
[
URL-encoded path of the group
](
README.md#namespaced-path-encoding
)
owned by the authenticated user |
|
`project_id`
| integer/string | yes | The ID or
[
URL-encoded path of the project
](
README.md#namespaced-path-encoding
)
|
## Update group
...
...
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