diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-13 14:24:54 +0300 | 
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-13 14:24:54 +0300 | 
| commit | 1355ede49d02e2a7b1715a3ed6bd7389bfedf6bc (patch) | |
| tree | d1530d3685f4d934f5224fc6cde9305b736c0c71 /doc/api | |
| parent | a5cbb4cb82a6911b5c1de117ae6ed4cbf667a679 (diff) | |
| download | gitlab-ce-1355ede49d02e2a7b1715a3ed6bd7389bfedf6bc.tar.gz | |
Wipe wall notes feature
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'doc/api')
| -rw-r--r-- | doc/api/notes.md | 63 | ||||
| -rw-r--r-- | doc/api/projects.md | 5 | 
2 files changed, 1 insertions, 67 deletions
diff --git a/doc/api/notes.md b/doc/api/notes.md index 6d140643fcb..e7f19965a30 100644 --- a/doc/api/notes.md +++ b/doc/api/notes.md @@ -1,67 +1,6 @@  # Notes -Notes can be wall notes or comments on snippets, issues or merge requests. - -## Wall - -### List project wall notes - -Get a list of project wall notes. - -``` -GET /projects/:id/notes -``` - -Parameters: - -+ `id` (required) - The ID of a project - -```json -[ -  { -    "id": 522, -    "body": "The solution is rather tricky", -    "attachment": null, -    "author": { -      "id": 1, -      "username": "john_smith", -      "email": "john@example.com", -      "name": "John Smith", -      "state": "active", -      "created_at": "2012-05-23T08:00:58Z" -    }, -    "created_at": "2012-11-27T19:16:44Z" -  } -] -``` - -### Get single wall note - -Returns a single wall note. - -``` -GET /projects/:id/notes/:note_id -``` - -Parameters: - -+ `id` (required) - The ID of a project -+ `note_id` (required) - The ID of a wall note - - -### Create new wall note - -Creates a new wall note. - -``` -POST /projects/:id/notes -``` - -Parameters: - -+ `id` (required) - The ID of a project -+ `body` (required) - The content of a note - +Notes are comments on snippets, issues or merge requests.  ## Issues diff --git a/doc/api/projects.md b/doc/api/projects.md index ae2b8365e80..d32af678fcc 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -30,7 +30,6 @@ GET /projects      "path_with_namespace": "diaspora/diaspora-client",      "issues_enabled": true,      "merge_requests_enabled": true, -    "wall_enabled": false,      "wiki_enabled": true,      "snippets_enabled": false,      "created_at": "2013-09-30T13: 46: 02Z", @@ -66,7 +65,6 @@ GET /projects      "path_with_namespace": "brightbox/puppet",      "issues_enabled": true,      "merge_requests_enabled": true, -    "wall_enabled": false,      "wiki_enabled": true,      "snippets_enabled": false,      "created_at": "2013-09-30T13:46:02Z", @@ -136,7 +134,6 @@ Parameters:    "path_with_namespace": "diaspora/diaspora-project-site",    "issues_enabled": true,    "merge_requests_enabled": true, -  "wall_enabled": false,    "wiki_enabled": true,    "snippets_enabled": false,    "created_at": "2013-09-30T13: 46: 02Z", @@ -252,7 +249,6 @@ Parameters:  + `namespace_id` (optional) - namespace for the new project (defaults to user)  + `description` (optional) - short project description  + `issues_enabled` (optional) -+ `wall_enabled` (optional)  + `merge_requests_enabled` (optional)  + `wiki_enabled` (optional)   + `snippets_enabled` (optional) @@ -276,7 +272,6 @@ Parameters:  + `description` (optional) - short project description  + `default_branch` (optional) - 'master' by default  + `issues_enabled` (optional) -+ `wall_enabled` (optional)  + `merge_requests_enabled` (optional)  + `wiki_enabled` (optional)   + `snippets_enabled` (optional)  | 
