summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-12-15 11:33:28 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-12-15 11:33:28 +0000
commit17472c9c3209788cb82e7e1df219dc3c0b3160ab (patch)
tree81227963a34f5063a33f43010df82fb72bbdc19c
parent9c12cb537550963c30c7c100cc0ed17957ce49a1 (diff)
parent623b2cef56dd4e70ef86da1c5533bd3159290387 (diff)
downloadgitlab-ce-17472c9c3209788cb82e7e1df219dc3c0b3160ab.tar.gz
Merge branch 'patch-29' into 'master'
fix formatting of parameters for new group and transfer project to group See merge request gitlab-org/gitlab-ce!15822
-rw-r--r--doc/api/groups.md22
1 files changed, 13 insertions, 9 deletions
diff --git a/doc/api/groups.md b/doc/api/groups.md
index c1b5737c247..de730cdd869 100644
--- a/doc/api/groups.md
+++ b/doc/api/groups.md
@@ -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` | integer | 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