summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/milestones.md1
-rw-r--r--doc/api/projects.md6
2 files changed, 3 insertions, 4 deletions
diff --git a/doc/api/milestones.md b/doc/api/milestones.md
index b997e83901b..73d29afc37a 100644
--- a/doc/api/milestones.md
+++ b/doc/api/milestones.md
@@ -34,7 +34,6 @@ POST /projects/:id/milestones
Parameters:
+ `id` (required) - The ID of a project
-+ `milestone_id` (required) - The ID of a project milestone
+ `title` (required) - The title of an milestone
+ `description` (optional) - The description of the milestone
+ `due_date` (optional) - The due date of the milestone
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 16521917a7a..cff4327a58c 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -23,7 +23,7 @@ GET /projects
"blocked": false,
"created_at": "2012-05-23T08:00:58Z"
},
- "private": true,
+ "public": true,
"path": "rails",
"path_with_namespace": "rails/rails",
"issues_enabled": false,
@@ -45,7 +45,7 @@ GET /projects
"blocked": false,
"created_at": "2012-05-23T08:00:58Z"
},
- "private": true,
+ "public": true,
"path": "gitlab",
"path_with_namespace": "randx/gitlab",
"issues_enabled": true,
@@ -89,7 +89,7 @@ Parameters:
"blocked": false,
"created_at": "2012-05-23T08:00:58Z"
},
- "private": true,
+ "public": true,
"path": "gitlab",
"path_with_namespace": "randx/gitlab",
"issues_enabled": true,