diff options
author | Michael Lihs <mimi@kaktusteam.de> | 2017-12-09 01:21:58 +0300 |
---|---|---|
committer | Michael Lihs <mimi@kaktusteam.de> | 2017-12-09 01:21:58 +0300 |
commit | dd5da9fb60618820bacc09d5e75439bfdfb21224 (patch) | |
tree | 3e56d8be14be066b3d484df8792aa4d7ed1706c4 | |
parent | 806a68a81f1baeed07c146b1b5d9eb77796c46ba (diff) |
fix formatting of parameters for new group and transfer project to group
-rw-r--r-- | doc/api/groups.md | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/doc/api/groups.md b/doc/api/groups.md index c1b5737c247..adb035fa7ea 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` | 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 |