Commit d9240846 authored by Valery Sizov's avatar Valery Sizov

[Multiple issue assignees] update doc for issues API[ci skip]

parent 9c0d874c
...@@ -68,14 +68,14 @@ Example response: ...@@ -68,14 +68,14 @@ Example response:
"updated_at" : "2016-01-04T15:31:39.996Z" "updated_at" : "2016-01-04T15:31:39.996Z"
}, },
"project_id" : 1, "project_id" : 1,
"assignee" : { "assignees" : [{
"state" : "active", "state" : "active",
"id" : 1, "id" : 1,
"name" : "Administrator", "name" : "Administrator",
"web_url" : "https://gitlab.example.com/root", "web_url" : "https://gitlab.example.com/root",
"avatar_url" : null, "avatar_url" : null,
"username" : "root" "username" : "root"
}, }],
"updated_at" : "2016-01-04T15:31:51.081Z", "updated_at" : "2016-01-04T15:31:51.081Z",
"id" : 76, "id" : 76,
"title" : "Consequatur vero maxime deserunt laboriosam est voluptas dolorem.", "title" : "Consequatur vero maxime deserunt laboriosam est voluptas dolorem.",
...@@ -150,14 +150,14 @@ Example response: ...@@ -150,14 +150,14 @@ Example response:
"description" : "Omnis vero earum sunt corporis dolor et placeat.", "description" : "Omnis vero earum sunt corporis dolor et placeat.",
"state" : "closed", "state" : "closed",
"iid" : 1, "iid" : 1,
"assignee" : { "assignees" : [{
"avatar_url" : null, "avatar_url" : null,
"web_url" : "https://gitlab.example.com/lennie", "web_url" : "https://gitlab.example.com/lennie",
"state" : "active", "state" : "active",
"username" : "lennie", "username" : "lennie",
"id" : 9, "id" : 9,
"name" : "Dr. Luella Kovacek" "name" : "Dr. Luella Kovacek"
}, }],
"labels" : [], "labels" : [],
"id" : 41, "id" : 41,
"title" : "Ut commodi ullam eos dolores perferendis nihil sunt.", "title" : "Ut commodi ullam eos dolores perferendis nihil sunt.",
...@@ -231,14 +231,14 @@ Example response: ...@@ -231,14 +231,14 @@ Example response:
"description" : "Omnis vero earum sunt corporis dolor et placeat.", "description" : "Omnis vero earum sunt corporis dolor et placeat.",
"state" : "closed", "state" : "closed",
"iid" : 1, "iid" : 1,
"assignee" : { "assignees" : [{
"avatar_url" : null, "avatar_url" : null,
"web_url" : "https://gitlab.example.com/lennie", "web_url" : "https://gitlab.example.com/lennie",
"state" : "active", "state" : "active",
"username" : "lennie", "username" : "lennie",
"id" : 9, "id" : 9,
"name" : "Dr. Luella Kovacek" "name" : "Dr. Luella Kovacek"
}, }],
"labels" : [], "labels" : [],
"id" : 41, "id" : 41,
"title" : "Ut commodi ullam eos dolores perferendis nihil sunt.", "title" : "Ut commodi ullam eos dolores perferendis nihil sunt.",
...@@ -297,14 +297,14 @@ Example response: ...@@ -297,14 +297,14 @@ Example response:
"description" : "Omnis vero earum sunt corporis dolor et placeat.", "description" : "Omnis vero earum sunt corporis dolor et placeat.",
"state" : "closed", "state" : "closed",
"iid" : 1, "iid" : 1,
"assignee" : { "assignees" : [{
"avatar_url" : null, "avatar_url" : null,
"web_url" : "https://gitlab.example.com/lennie", "web_url" : "https://gitlab.example.com/lennie",
"state" : "active", "state" : "active",
"username" : "lennie", "username" : "lennie",
"id" : 9, "id" : 9,
"name" : "Dr. Luella Kovacek" "name" : "Dr. Luella Kovacek"
}, }],
"labels" : [], "labels" : [],
"id" : 41, "id" : 41,
"title" : "Ut commodi ullam eos dolores perferendis nihil sunt.", "title" : "Ut commodi ullam eos dolores perferendis nihil sunt.",
...@@ -333,7 +333,7 @@ POST /projects/:id/issues ...@@ -333,7 +333,7 @@ POST /projects/:id/issues
| `title` | string | yes | The title of an issue | | `title` | string | yes | The title of an issue |
| `description` | string | no | The description of an issue | | `description` | string | no | The description of an issue |
| `confidential` | boolean | no | Set an issue to be confidential. Default is `false`. | | `confidential` | boolean | no | Set an issue to be confidential. Default is `false`. |
| `assignee_id` | integer | no | The ID of a user to assign issue | | `assignee_ids` | Array[integer] | no | The ID of a user to assign issue |
| `milestone_id` | integer | no | The ID of a milestone to assign issue | | `milestone_id` | integer | no | The ID of a milestone to assign issue |
| `labels` | string | no | Comma-separated label names for an issue | | `labels` | string | no | Comma-separated label names for an issue |
| `created_at` | string | no | Date time string, ISO 8601 formatted, e.g. `2016-03-11T03:45:40Z` (requires admin or project owner rights) | | `created_at` | string | no | Date time string, ISO 8601 formatted, e.g. `2016-03-11T03:45:40Z` (requires admin or project owner rights) |
...@@ -356,7 +356,7 @@ Example response: ...@@ -356,7 +356,7 @@ Example response:
"iid" : 14, "iid" : 14,
"title" : "Issues with auth", "title" : "Issues with auth",
"state" : "opened", "state" : "opened",
"assignee" : null, "assignees" : [],
"labels" : [ "labels" : [
"bug" "bug"
], ],
...@@ -396,7 +396,7 @@ PUT /projects/:id/issues/:issue_iid ...@@ -396,7 +396,7 @@ PUT /projects/:id/issues/:issue_iid
| `title` | string | no | The title of an issue | | `title` | string | no | The title of an issue |
| `description` | string | no | The description of an issue | | `description` | string | no | The description of an issue |
| `confidential` | boolean | no | Updates an issue to be confidential | | `confidential` | boolean | no | Updates an issue to be confidential |
| `assignee_id` | integer | no | The ID of a user to assign the issue to | | `assignee_ids` | Array[integer] | no | The ID of a user to assign the issue to |
| `milestone_id` | integer | no | The ID of a milestone to assign the issue to | | `milestone_id` | integer | no | The ID of a milestone to assign the issue to |
| `labels` | string | no | Comma-separated label names for an issue | | `labels` | string | no | Comma-separated label names for an issue |
| `state_event` | string | no | The state event of an issue. Set `close` to close the issue and `reopen` to reopen it | | `state_event` | string | no | The state event of an issue. Set `close` to close the issue and `reopen` to reopen it |
...@@ -431,7 +431,7 @@ Example response: ...@@ -431,7 +431,7 @@ Example response:
"bug" "bug"
], ],
"id" : 85, "id" : 85,
"assignee" : null, "assignees" : [],
"milestone" : null, "milestone" : null,
"subscribed" : true, "subscribed" : true,
"user_notes_count": 0, "user_notes_count": 0,
...@@ -496,14 +496,14 @@ Example response: ...@@ -496,14 +496,14 @@ Example response:
"updated_at": "2016-04-07T12:20:17.596Z", "updated_at": "2016-04-07T12:20:17.596Z",
"labels": [], "labels": [],
"milestone": null, "milestone": null,
"assignee": { "assignees": [{
"name": "Miss Monserrate Beier", "name": "Miss Monserrate Beier",
"username": "axel.block", "username": "axel.block",
"id": 12, "id": 12,
"state": "active", "state": "active",
"avatar_url": "http://www.gravatar.com/avatar/46f6f7dc858ada7be1853f7fb96e81da?s=80&d=identicon", "avatar_url": "http://www.gravatar.com/avatar/46f6f7dc858ada7be1853f7fb96e81da?s=80&d=identicon",
"web_url": "https://gitlab.example.com/axel.block" "web_url": "https://gitlab.example.com/axel.block"
}, }],
"author": { "author": {
"name": "Kris Steuber", "name": "Kris Steuber",
"username": "solon.cremin", "username": "solon.cremin",
...@@ -552,14 +552,14 @@ Example response: ...@@ -552,14 +552,14 @@ Example response:
"updated_at": "2016-04-07T12:20:17.596Z", "updated_at": "2016-04-07T12:20:17.596Z",
"labels": [], "labels": [],
"milestone": null, "milestone": null,
"assignee": { "assignees": [{
"name": "Miss Monserrate Beier", "name": "Miss Monserrate Beier",
"username": "axel.block", "username": "axel.block",
"id": 12, "id": 12,
"state": "active", "state": "active",
"avatar_url": "http://www.gravatar.com/avatar/46f6f7dc858ada7be1853f7fb96e81da?s=80&d=identicon", "avatar_url": "http://www.gravatar.com/avatar/46f6f7dc858ada7be1853f7fb96e81da?s=80&d=identicon",
"web_url": "https://gitlab.example.com/axel.block" "web_url": "https://gitlab.example.com/axel.block"
}, }],
"author": { "author": {
"name": "Kris Steuber", "name": "Kris Steuber",
"username": "solon.cremin", "username": "solon.cremin",
...@@ -656,14 +656,14 @@ Example response: ...@@ -656,14 +656,14 @@ Example response:
"updated_at": "2016-06-17T07:47:33.832Z", "updated_at": "2016-06-17T07:47:33.832Z",
"due_date": null "due_date": null
}, },
"assignee": { "assignees": [{
"name": "Jarret O'Keefe", "name": "Jarret O'Keefe",
"username": "francisca", "username": "francisca",
"id": 14, "id": 14,
"state": "active", "state": "active",
"avatar_url": "http://www.gravatar.com/avatar/a7fa515d53450023c83d62986d0658a8?s=80&d=identicon", "avatar_url": "http://www.gravatar.com/avatar/a7fa515d53450023c83d62986d0658a8?s=80&d=identicon",
"web_url": "https://gitlab.example.com/francisca" "web_url": "https://gitlab.example.com/francisca"
}, }],
"author": { "author": {
"name": "Maxie Medhurst", "name": "Maxie Medhurst",
"username": "craig_rutherford", "username": "craig_rutherford",
......
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