Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-12-21 21:43:46 +0400
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-12-21 21:43:46 +0400
commit931ec399bd16321f5bdd8e745f2f87dfe25a83ac (patch)
treef501bcbeafd843d5874ae1620bcb72ea6207c2ba /doc
parentb510f8c4965b210cc1a583fc15dc09871669e1bf (diff)
Remove the code parameter from the projects API
Diffstat (limited to 'doc')
-rw-r--r--doc/api/projects.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index c8cb263e705..42c20ff6e5f 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -10,7 +10,6 @@ GET /projects
[
{
"id": 3,
- "code": "rails",
"name": "rails",
"description": null,
"path": "rails",
@@ -32,7 +31,6 @@ GET /projects
},
{
"id": 5,
- "code": "gitlab",
"name": "gitlab",
"description": null,
"path": "gitlab",
@@ -70,7 +68,6 @@ Parameters:
```json
{
"id": 5,
- "code": "gitlab",
"name": "gitlab",
"description": null,
"path": "gitlab",
@@ -103,7 +100,6 @@ POST /projects
Parameters:
+ `name` (required) - new project name
-+ `code` (optional) - new project code, uses project name if not set
+ `path` (optional) - new project path, uses project name if not set
+ `description` (optional) - short project description
+ `default_branch` (optional) - 'master' by default