fix formatting of parameters for new group and transfer project to group

This commit is contained in:
Michael Lihs 2017-12-08 22:21:58 +00:00
parent 806a68a81f
commit dd5da9fb60

View file

@ -365,13 +365,15 @@ POST /groups
Parameters: Parameters:
- `name` (required) - The name of the group | Attribute | Type | Required | Description |
- `path` (required) - The path of the group | --------- | ---- | -------- | ----------- |
- `description` (optional) - The group's description | `name` | string | yes | The name of the group |
- `visibility` (optional) - The group's visibility. Can be `private`, `internal`, or `public`. | `path` | string | yes | The path of the group |
- `lfs_enabled` (optional) - Enable/disable Large File Storage (LFS) for the projects in this group | `description` | string | no | The group's description |
- `request_access_enabled` (optional) - Allow users to request member access. | `visibility` | string | no | The group's visibility. Can be `private`, `internal`, or `public`. |
- `parent_id` (optional) - The parent group id for creating nested group. | `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 ## Transfer project to group
@ -383,8 +385,10 @@ POST /groups/:id/projects/:project_id
Parameters: Parameters:
- `id` (required) - The ID or [URL-encoded path of the group](README.md#namespaced-path-encoding) owned by the authenticated user | Attribute | Type | Required | Description |
- `project_id` (required) - The ID or path of a project | --------- | ---- | -------- | ----------- |
| `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 ## Update group