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
d5b7807e
Commit
d5b7807e
authored
Feb 22, 2020
by
Rajendra Kadam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add doc strings for create and update group API
parent
98adf69c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
doc/api/groups.md
doc/api/groups.md
+2
-0
spec/requests/api/groups_spec.rb
spec/requests/api/groups_spec.rb
+1
-1
No files found.
doc/api/groups.md
View file @
d5b7807e
...
...
@@ -492,6 +492,7 @@ Parameters:
|
`auto_devops_enabled`
| boolean | no | Default to Auto DevOps pipeline for all projects within this group. |
|
`subgroup_creation_level`
| string | no | Allowed to create subgroups. Can be
`owner`
(Owners), or
`maintainer`
(Maintainers). |
|
`emails_disabled`
| boolean | no | Disable email notifications |
|
`avatar`
| mixed | no | Image file for avatar of the group |
|
`mentions_disabled`
| boolean | no | Disable the capability of a group from getting mentioned |
|
`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. |
...
...
@@ -553,6 +554,7 @@ PUT /groups/:id
|
`auto_devops_enabled`
| boolean | no | Default to Auto DevOps pipeline for all projects within this group. |
|
`subgroup_creation_level`
| string | no | Allowed to create subgroups. Can be
`owner`
(Owners), or
`maintainer`
(Maintainers). |
|
`emails_disabled`
| boolean | no | Disable email notifications |
|
`avatar`
| mixed | no | Image file for avatar of the group |
|
`mentions_disabled`
| boolean | no | Disable the capability of a group from getting mentioned |
|
`lfs_enabled`
(optional) | 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. |
...
...
spec/requests/api/groups_spec.rb
View file @
d5b7807e
...
...
@@ -1003,7 +1003,7 @@ describe API::Groups do
it
"uploads avatar for a group"
do
group
=
attributes_for_group_api
request_access_enabled:
false
group
.
merge!
(
avatar:
fixture_file_upload
(
'spec/fixtures/banana_sample.gif'
,
'image/gif'
)
)
group
[
:avatar
]
=
fixture_file_upload
(
'spec/fixtures/banana_sample.gif'
,
'image/gif'
)
post
api
(
"/groups"
,
user3
),
params:
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