Commit 4a6d3081 authored by Parker Mauney's avatar Parker Mauney Committed by Achilleas Pipinellis

Fix duplicate JSON keys in API docs

parent c28fb3ea
...@@ -316,7 +316,6 @@ Example response: ...@@ -316,7 +316,6 @@ Example response:
{ {
"id": "8b090c1b79a14f2bd9e8a738f717824ff53aebad", "id": "8b090c1b79a14f2bd9e8a738f717824ff53aebad",
"short_id": "8b090c1b", "short_id": "8b090c1b",
"title": "Feature added",
"author_name": "Example User", "author_name": "Example User",
"author_email": "user@example.com", "author_email": "user@example.com",
"authored_date": "2016-12-12T20:10:39.000+01:00", "authored_date": "2016-12-12T20:10:39.000+01:00",
......
...@@ -270,7 +270,7 @@ GET /projects/:id/snippets/:snippet_id/discussions ...@@ -270,7 +270,7 @@ GET /projects/:id/snippets/:snippet_id/discussions
"system": false, "system": false,
"noteable_id": 3, "noteable_id": 3,
"noteable_type": "Snippet", "noteable_type": "Snippet",
"noteable_id": null "noteable_iid": null
}, },
{ {
"id": 1129, "id": 1129,
...@@ -290,7 +290,7 @@ GET /projects/:id/snippets/:snippet_id/discussions ...@@ -290,7 +290,7 @@ GET /projects/:id/snippets/:snippet_id/discussions
"system": false, "system": false,
"noteable_id": 3, "noteable_id": 3,
"noteable_type": "Snippet", "noteable_type": "Snippet",
"noteable_id": null, "noteable_iid": null,
"resolvable": false "resolvable": false
} }
] ]
...@@ -317,7 +317,7 @@ GET /projects/:id/snippets/:snippet_id/discussions ...@@ -317,7 +317,7 @@ GET /projects/:id/snippets/:snippet_id/discussions
"system": false, "system": false,
"noteable_id": 3, "noteable_id": 3,
"noteable_type": "Snippet", "noteable_type": "Snippet",
"noteable_id": null, "noteable_iid": null,
"resolvable": false "resolvable": false
} }
] ]
...@@ -476,7 +476,7 @@ GET /groups/:id/epics/:epic_id/discussions ...@@ -476,7 +476,7 @@ GET /groups/:id/epics/:epic_id/discussions
"system": false, "system": false,
"noteable_id": 3, "noteable_id": 3,
"noteable_type": "Epic", "noteable_type": "Epic",
"noteable_id": null, "noteable_iid": null,
"resolvable": false "resolvable": false
}, },
{ {
...@@ -497,7 +497,7 @@ GET /groups/:id/epics/:epic_id/discussions ...@@ -497,7 +497,7 @@ GET /groups/:id/epics/:epic_id/discussions
"system": false, "system": false,
"noteable_id": 3, "noteable_id": 3,
"noteable_type": "Epic", "noteable_type": "Epic",
"noteable_id": null, "noteable_iid": null,
"resolvable": false "resolvable": false
} }
] ]
...@@ -524,7 +524,7 @@ GET /groups/:id/epics/:epic_id/discussions ...@@ -524,7 +524,7 @@ GET /groups/:id/epics/:epic_id/discussions
"system": false, "system": false,
"noteable_id": 3, "noteable_id": 3,
"noteable_type": "Epic", "noteable_type": "Epic",
"noteable_id": null, "noteable_iid": null,
"resolvable": false "resolvable": false
} }
] ]
......
...@@ -362,9 +362,6 @@ Example response: ...@@ -362,9 +362,6 @@ Example response:
"wikis_checksum_mismatch_count": 1, "wikis_checksum_mismatch_count": 1,
"repositories_retrying_verification_count": 1, "repositories_retrying_verification_count": 1,
"wikis_retrying_verification_count": 3, "wikis_retrying_verification_count": 3,
"repositories_checked_count": 7,
"repositories_checked_failed_count": 2,
"repositories_checked_in_percentage": "17.07%",
"last_event_id": 23, "last_event_id": 23,
"last_event_timestamp": 1509681166, "last_event_timestamp": 1509681166,
"cursor_last_event_id": null, "cursor_last_event_id": null,
......
...@@ -657,12 +657,6 @@ Example response: ...@@ -657,12 +657,6 @@ Example response:
}, },
"confidential": false, "confidential": false,
"discussion_locked": false, "discussion_locked": false,
"_links": {
"self": "http://example.com/api/v4/projects/1/issues/2",
"notes": "http://example.com/api/v4/projects/1/issues/2/notes",
"award_emoji": "http://example.com/api/v4/projects/1/issues/2/award_emoji",
"project": "http://example.com/api/v4/projects/1"
},
"task_completion_status":{ "task_completion_status":{
"count":0, "count":0,
"completed_count":0 "completed_count":0
...@@ -675,12 +669,6 @@ Example response: ...@@ -675,12 +669,6 @@ Example response:
"award_emoji": "http://gitlab.example:3000/api/v4/projects/1/issues/1/award_emoji", "award_emoji": "http://gitlab.example:3000/api/v4/projects/1/issues/1/award_emoji",
"project": "http://gitlab.example:3000/api/v4/projects/1" "project": "http://gitlab.example:3000/api/v4/projects/1"
}, },
"references": {
"short": "#1",
"relative": "#1",
"full": "gitlab-org/gitlab-test#1"
},
"subscribed": true,
"moved_to_id": null, "moved_to_id": null,
"service_desk_reply_to": "service.desk@gitlab.com", "service_desk_reply_to": "service.desk@gitlab.com",
"epic_iid": null, "epic_iid": null,
......
...@@ -68,7 +68,6 @@ Example of response ...@@ -68,7 +68,6 @@ Example of response
"status": "pending" "status": "pending"
}, },
"ref": "master", "ref": "master",
"artifacts": [],
"runner": null, "runner": null,
"stage": "test", "stage": "test",
"status": "failed", "status": "failed",
......
...@@ -902,7 +902,6 @@ GET /projects/:id ...@@ -902,7 +902,6 @@ GET /projects/:id
"merge_method": "merge", "merge_method": "merge",
"auto_devops_enabled": true, "auto_devops_enabled": true,
"auto_devops_deploy_strategy": "continuous", "auto_devops_deploy_strategy": "continuous",
"repository_storage": "default",
"approvals_before_merge": 0, "approvals_before_merge": 0,
"mirror": false, "mirror": false,
"mirror_user_id": 45, "mirror_user_id": 45,
......
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