Commit 768e13ab authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'jramsay/epic-api-fixes-docs' into 'master'

Add missing Epic `state` property to docs

See merge request gitlab-org/gitlab-ee!11314
parents f57316ca 4d05edeb
...@@ -60,6 +60,7 @@ Example response: ...@@ -60,6 +60,7 @@ Example response:
"group_id": 7, "group_id": 7,
"title": "Accusamus iste et ullam ratione voluptatem omnis debitis dolor est.", "title": "Accusamus iste et ullam ratione voluptatem omnis debitis dolor est.",
"description": "Molestias dolorem eos vitae expedita impedit necessitatibus quo voluptatum.", "description": "Molestias dolorem eos vitae expedita impedit necessitatibus quo voluptatum.",
"state": "opened",
"author": { "author": {
"id": 10, "id": 10,
"name": "Lu Mayer", "name": "Lu Mayer",
...@@ -112,6 +113,7 @@ Example response: ...@@ -112,6 +113,7 @@ Example response:
"group_id": 7, "group_id": 7,
"title": "Ea cupiditate dolores ut vero consequatur quasi veniam voluptatem et non.", "title": "Ea cupiditate dolores ut vero consequatur quasi veniam voluptatem et non.",
"description": "Molestias dolorem eos vitae expedita impedit necessitatibus quo voluptatum.", "description": "Molestias dolorem eos vitae expedita impedit necessitatibus quo voluptatum.",
"state": "opened",
"author":{ "author":{
"id": 7, "id": 7,
"name": "Pamella Huel", "name": "Pamella Huel",
...@@ -174,6 +176,7 @@ Example response: ...@@ -174,6 +176,7 @@ Example response:
"group_id": 7, "group_id": 7,
"title": "Epic", "title": "Epic",
"description": "Epic description", "description": "Epic description",
"state": "opened",
"author": { "author": {
"name" : "Alexandra Bashirian", "name" : "Alexandra Bashirian",
"avatar_url" : null, "avatar_url" : null,
...@@ -238,6 +241,7 @@ Example response: ...@@ -238,6 +241,7 @@ Example response:
"group_id": 7, "group_id": 7,
"title": "New Title", "title": "New Title",
"description": "Epic description", "description": "Epic description",
"state": "opened",
"author": { "author": {
"name" : "Alexandra Bashirian", "name" : "Alexandra Bashirian",
"avatar_url" : null, "avatar_url" : null,
...@@ -277,7 +281,7 @@ DELETE /groups/:id/epics/:epic_iid ...@@ -277,7 +281,7 @@ DELETE /groups/:id/epics/:epic_iid
| `epic_iid` | integer/string | yes | The internal ID of the epic. | | `epic_iid` | integer/string | yes | The internal ID of the epic. |
```bash ```bash
curl --header DELETE "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/groups/1/epics/5?title=New%20Title curl --header DELETE "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/groups/1/epics/5
``` ```
## Create a todo ## Create a todo
......
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