Commit 07941f7f authored by Nick Thomas's avatar Nick Thomas

Merge branch '6769-epics-votes-ce' into 'master'

Add missing attrs to Issue example API responses

See merge request gitlab-org/gitlab-ce!24641
parents e4dc22e3 35aee4e8
...@@ -106,6 +106,8 @@ Example response: ...@@ -106,6 +106,8 @@ Example response:
"created_at" : "2016-01-04T15:31:51.081Z", "created_at" : "2016-01-04T15:31:51.081Z",
"iid" : 6, "iid" : 6,
"labels" : [], "labels" : [],
"upvotes": 4,
"downvotes": 0,
"user_notes_count": 1, "user_notes_count": 1,
"due_date": "2016-07-22", "due_date": "2016-07-22",
"web_url": "http://example.com/example/example/issues/6", "web_url": "http://example.com/example/example/issues/6",
...@@ -214,6 +216,8 @@ Example response: ...@@ -214,6 +216,8 @@ Example response:
"name" : "Dr. Luella Kovacek" "name" : "Dr. Luella Kovacek"
}, },
"labels" : [], "labels" : [],
"upvotes": 4,
"downvotes": 0,
"id" : 41, "id" : 41,
"title" : "Ut commodi ullam eos dolores perferendis nihil sunt.", "title" : "Ut commodi ullam eos dolores perferendis nihil sunt.",
"updated_at" : "2016-01-04T15:31:46.176Z", "updated_at" : "2016-01-04T15:31:46.176Z",
...@@ -327,6 +331,8 @@ Example response: ...@@ -327,6 +331,8 @@ Example response:
"name" : "Dr. Luella Kovacek" "name" : "Dr. Luella Kovacek"
}, },
"labels" : [], "labels" : [],
"upvotes": 4,
"downvotes": 0,
"id" : 41, "id" : 41,
"title" : "Ut commodi ullam eos dolores perferendis nihil sunt.", "title" : "Ut commodi ullam eos dolores perferendis nihil sunt.",
"updated_at" : "2016-01-04T15:31:46.176Z", "updated_at" : "2016-01-04T15:31:46.176Z",
...@@ -421,6 +427,8 @@ Example response: ...@@ -421,6 +427,8 @@ Example response:
"name" : "Dr. Luella Kovacek" "name" : "Dr. Luella Kovacek"
}, },
"labels" : [], "labels" : [],
"upvotes": 4,
"downvotes": 0,
"id" : 41, "id" : 41,
"title" : "Ut commodi ullam eos dolores perferendis nihil sunt.", "title" : "Ut commodi ullam eos dolores perferendis nihil sunt.",
"updated_at" : "2016-01-04T15:31:46.176Z", "updated_at" : "2016-01-04T15:31:46.176Z",
...@@ -494,6 +502,8 @@ Example response: ...@@ -494,6 +502,8 @@ Example response:
"labels" : [ "labels" : [
"bug" "bug"
], ],
"upvotes": 4,
"downvotes": 0,
"author" : { "author" : {
"name" : "Alexandra Bashirian", "name" : "Alexandra Bashirian",
"avatar_url" : null, "avatar_url" : null,
...@@ -592,6 +602,8 @@ Example response: ...@@ -592,6 +602,8 @@ Example response:
"labels" : [ "labels" : [
"bug" "bug"
], ],
"upvotes": 4,
"downvotes": 0,
"id" : 85, "id" : 85,
"assignees" : [], "assignees" : [],
"assignee" : null, "assignee" : null,
...@@ -676,6 +688,8 @@ Example response: ...@@ -676,6 +688,8 @@ Example response:
"closed_at": null, "closed_at": null,
"closed_by": null, "closed_by": null,
"labels": [], "labels": [],
"upvotes": 4,
"downvotes": 0,
"milestone": null, "milestone": null,
"assignees": [{ "assignees": [{
"name": "Miss Monserrate Beier", "name": "Miss Monserrate Beier",
...@@ -758,6 +772,8 @@ Example response: ...@@ -758,6 +772,8 @@ Example response:
"closed_at": null, "closed_at": null,
"closed_by": null, "closed_by": null,
"labels": [], "labels": [],
"upvotes": 4,
"downvotes": 0,
"milestone": null, "milestone": null,
"assignees": [{ "assignees": [{
"name": "Miss Monserrate Beier", "name": "Miss Monserrate Beier",
...@@ -839,6 +855,8 @@ Example response: ...@@ -839,6 +855,8 @@ Example response:
"created_at": "2016-04-05T21:41:45.217Z", "created_at": "2016-04-05T21:41:45.217Z",
"updated_at": "2016-04-07T13:02:37.905Z", "updated_at": "2016-04-07T13:02:37.905Z",
"labels": [], "labels": [],
"upvotes": 4,
"downvotes": 0,
"milestone": null, "milestone": null,
"assignee": { "assignee": {
"name": "Edwardo Grady", "name": "Edwardo Grady",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment