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 | 231 | Parameters: |
| 232 | 232 | |
| 233 | 233 | + `name` (required) - new project name |
| 234 | ++ `namespace_id` (optional) - namespace for the new project (defaults to user) | |
| 234 | 235 | + `description` (optional) - short project description |
| 235 | 236 | + `issues_enabled` (optional) |
| 236 | 237 | + `wall_enabled` (optional) |
| ... | ... | @@ -254,6 +255,7 @@ Parameters: |
| 254 | 255 | |
| 255 | 256 | + `user_id` (required) - user_id of owner |
| 256 | 257 | + `name` (required) - new project name |
| 258 | ++ `namespace_id` (optional) - namespace for the new project (defaults to user) | |
| 257 | 259 | + `description` (optional) - short project description |
| 258 | 260 | + `default_branch` (optional) - 'master' by default |
| 259 | 261 | + `issues_enabled` (optional) | ... | ... |