@@ -10,7 +10,7 @@ title: Issue Labels API v3 | dev.github.com
1010
1111### Response
1212
13- <%= headers : status => 200 %>
13+ <%= headers 200 %>
1414<%= json(: label ) { |h| [ h] } %>
1515
1616## Create a Label
@@ -25,7 +25,7 @@ title: Issue Labels API v3 | dev.github.com
2525
2626### Response
2727
28- <%= headers : status => 201,
28+ <%= headers 201,
2929 : Location =>
3030"https://api.github.com/repos/user/repo/labels/foo.json " %>
3131<%= json : label %>
@@ -36,7 +36,7 @@ title: Issue Labels API v3 | dev.github.com
3636
3737### Response
3838
39- <%= headers : status => 200 %>
39+ <%= headers 200 %>
4040<%= json : label %>
4141
4242## Update a Label
@@ -51,7 +51,7 @@ title: Issue Labels API v3 | dev.github.com
5151
5252### Response
5353
54- <%= headers : status => 200 %>
54+ <%= headers 200 %>
5555<%= json : label %>
5656
5757## Delete a label
@@ -60,16 +60,16 @@ title: Issue Labels API v3 | dev.github.com
6060
6161### Response
6262
63- <%= headers : status => 204 %>
64- {}
63+ <%= headers 204 %>
64+ <%= json({}) %>
6565
6666## List labels on the Issue
6767
6868 GET /repos/:user/:repo/issues/:id/labels.json
6969
7070### Response
7171
72- <%= headers : status => 200 %>
72+ <%= headers 200 %>
7373<%= json(: label ) { |h| [ h] } %>
7474
7575## Add Labels to an Issue
@@ -82,7 +82,7 @@ title: Issue Labels API v3 | dev.github.com
8282
8383### Response
8484
85- <%= headers : status => 200 %>
85+ <%= headers 200 %>
8686<%= json(: label ) { |h| [ h] } %>
8787
8888## Remove a Label from an Issue
@@ -91,7 +91,7 @@ title: Issue Labels API v3 | dev.github.com
9191
9292### Response
9393
94- <%= headers : status => 200 %>
94+ <%= headers 200 %>
9595<%= json(: label ) { |h| [ h] } %>
9696
9797## Replace all Labels for an Issue
@@ -104,7 +104,7 @@ title: Issue Labels API v3 | dev.github.com
104104
105105### Response
106106
107- <%= headers : status => 200 %>
107+ <%= headers 200 %>
108108<%= json(: label ) { |h| [ h] } %>
109109
110110## Remove all Labels from an Issue
@@ -113,7 +113,7 @@ title: Issue Labels API v3 | dev.github.com
113113
114114### Response
115115
116- <%= headers : status => 204 %>
116+ <%= headers 204 %>
117117<%= json({}) %>
118118
119119## Get Labels for every Issue in a Milestone
@@ -122,5 +122,5 @@ title: Issue Labels API v3 | dev.github.com
122122
123123### Response
124124
125- <%= headers : status => 200 %>
125+ <%= headers 200 %>
126126<%= json(: label ) { |h| [ h] } %>
0 commit comments