From 979dd2603c18502e3a0065d0aa0c94af5e495b8a Mon Sep 17 00:00:00 2001 From: Chris McKnight Date: Mon, 30 Sep 2013 17:39:33 -0500 Subject: Fix invalid json in issues API doc --- doc/api/issues.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/api/issues.md b/doc/api/issues.md index 723c8acf381..314268b0fc0 100644 --- a/doc/api/issues.md +++ b/doc/api/issues.md @@ -25,7 +25,7 @@ GET /issues "blocked": false, "created_at": "2012-05-23T08:00:58Z" }, - "state": 'closed', + "state": "closed", "updated_at": "2012-07-02T17:53:12Z", "created_at": "2012-07-02T17:53:12Z" }, @@ -42,7 +42,7 @@ GET /issues "title": "v1.0", "description": "", "due_date": "2012-07-20", - "state": 'reopenend', + "state": "reopenend", "updated_at": "2012-07-04T13:42:48Z", "created_at": "2012-07-04T13:42:48Z" }, @@ -62,7 +62,7 @@ GET /issues "blocked": false, "created_at": "2012-05-23T08:00:58Z" }, - "state": 'opened', + "state": "opened", "updated_at": "2012-07-12T13:43:19Z", "created_at": "2012-06-28T12:58:06Z" } @@ -111,7 +111,7 @@ Parameters: "title": "v1.0", "description": "", "due_date": "2012-07-20", - "state": 'closed', + "state": "closed", "updated_at": "2012-07-04T13:42:48Z", "created_at": "2012-07-04T13:42:48Z" }, @@ -131,7 +131,7 @@ Parameters: "blocked": false, "created_at": "2012-05-23T08:00:58Z" }, - "state": 'opened', + "state": "opened", "updated_at": "2012-07-12T13:43:19Z", "created_at": "2012-06-28T12:58:06Z" } @@ -190,4 +190,3 @@ Parameters: + `id` (required) - The project ID + `issue_id` (required) - The ID of the issue - -- cgit v1.2.1 From 4ee78342663ef458942eef2007084fcf881b3f87 Mon Sep 17 00:00:00 2001 From: Chris McKnight Date: Mon, 30 Sep 2013 21:45:15 -0500 Subject: Fix json keys in groups API documentation --- doc/api/groups.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/api/groups.md b/doc/api/groups.md index fb77901c65b..47c7c1bf4f5 100644 --- a/doc/api/groups.md +++ b/doc/api/groups.md @@ -70,22 +70,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 } ] ``` -- cgit v1.2.1