summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-06 22:44:03 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-06 22:44:03 -0700
commit073c8a296668ab1e06b01ebf0a9e94786227eef4 (patch)
tree80c4b69605495862292704ba8c118c0daf063939 /doc/api
parent83c727c550b1d07a8b9fd6313a258ca6c32a7d2e (diff)
parent4ee78342663ef458942eef2007084fcf881b3f87 (diff)
downloadgitlab-ce-073c8a296668ab1e06b01ebf0a9e94786227eef4.tar.gz
Merge pull request #5230 from cmckni3/patch-1
Fix invalid json in API docs
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/groups.md28
-rw-r--r--doc/api/issues.md1
2 files changed, 14 insertions, 15 deletions
diff --git a/doc/api/groups.md b/doc/api/groups.md
index 492dce06635..f56c534667a 100644
--- a/doc/api/groups.md
+++ b/doc/api/groups.md
@@ -83,22 +83,22 @@ GET /groups/:id/members
```json
[
{
- id: 1,
- username: "raymond_smith",
- email: "ray@smith.org",
- name: "Raymond Smith",
- state: "active",
- created_at: "2012-10-22T14:13:35Z",
- access_level: 30
+ "id": 1,
+ "username": "raymond_smith",
+ "email": "ray@smith.org",
+ "name": "Raymond Smith",
+ "state": "active",
+ "created_at": "2012-10-22T14:13:35Z",
+ "access_level": 30
},
{
- id: 2,
- username: "john_doe",
- email: "joh@doe.org",
- name: "John Doe",
- state: "active",
- created_at: "2012-10-22T14:13:35Z",
- access_level: 30
+ "id": 2,
+ "username": "john_doe",
+ "email": "joh@doe.org",
+ "name": "John Doe",
+ "state": "active",
+ "created_at": "2012-10-22T14:13:35Z",
+ "access_level": 30
}
]
```
diff --git a/doc/api/issues.md b/doc/api/issues.md
index c8702439739..9082cbb50ba 100644
--- a/doc/api/issues.md
+++ b/doc/api/issues.md
@@ -190,4 +190,3 @@ Parameters:
+ `id` (required) - The project ID
+ `issue_id` (required) - The ID of the issue
-