Commit dac0e2f17411e23f06ddfef7fb737716e82f0518
1 parent
0212bc7a
Exists in
spb-stable
and in
3 other branches
Add namespace for projects to docs.
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
doc/api/projects.md
| @@ -231,6 +231,7 @@ POST /projects | @@ -231,6 +231,7 @@ POST /projects | ||
| 231 | Parameters: | 231 | Parameters: |
| 232 | 232 | ||
| 233 | + `name` (required) - new project name | 233 | + `name` (required) - new project name |
| 234 | ++ `namespace_id` (optional) - namespace for the new project (defaults to user) | ||
| 234 | + `description` (optional) - short project description | 235 | + `description` (optional) - short project description |
| 235 | + `issues_enabled` (optional) | 236 | + `issues_enabled` (optional) |
| 236 | + `wall_enabled` (optional) | 237 | + `wall_enabled` (optional) |
| @@ -254,6 +255,7 @@ Parameters: | @@ -254,6 +255,7 @@ Parameters: | ||
| 254 | 255 | ||
| 255 | + `user_id` (required) - user_id of owner | 256 | + `user_id` (required) - user_id of owner |
| 256 | + `name` (required) - new project name | 257 | + `name` (required) - new project name |
| 258 | ++ `namespace_id` (optional) - namespace for the new project (defaults to user) | ||
| 257 | + `description` (optional) - short project description | 259 | + `description` (optional) - short project description |
| 258 | + `default_branch` (optional) - 'master' by default | 260 | + `default_branch` (optional) - 'master' by default |
| 259 | + `issues_enabled` (optional) | 261 | + `issues_enabled` (optional) |