summaryrefslogtreecommitdiff
path: root/services/github/issue.json
blob: e269a24725237d0cf37a175e8c0a3d87d2c3b736 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
   "base_url" : "http://github.com/api/v2/",
   "version" : "0.4",
   "methods" : {
      "issue_search" : {
         "path" : "/:format/issues/search/:user/:repo/:state/:search_term",
         "method" : "GET",
         "required_params" : [
            "format",
            "user",
            "repo",
            "state",
            "search_term"
         ]
      },
      "list_issues" : {
         "path" : "/:format/issues/list/:user/:repo/:state",
         "method" : "GET",
         "required_params" : [
            "format",
            "user",
            "repo",
            "state"
         ]
      },
      "list_issues_by_label" : {
         "path" : "/:format/issues/list/:user/:repo/label/:label",
         "method" : "GET",
         "required_params" : [
            "format",
            "user",
            "repo",
            "label"
         ]
      },
      "get_issue_info" : {
         "path" : "/:format/issues/show/:user/:repo/:number",
         "method" : "GET",
         "required_params" : [
            "format",
            "user",
            "repo",
            "number"
         ]
      },
      "list_comments" : {
         "path" : "/:format/issues/comments/:user/:repo/:number",
         "method" : "GET",
         "required_params" : [
            "format",
            "user",
            "repo",
            "number"
         ]
      },
      "open" : {
         "path" : "/:format/issues/open/:user/:repo",
         "method" : "POST",
         "form-data" : {
            "title" :   ":title",
            "body" :    ":body"
         },
         "required_params" : [
            "format",
            "user",
            "repo"
         ],
         "optional_params" : [
            "title",
            "body"
         ],
         "authentication" : true
      },
      "close" : {
         "path" : "/:format/issues/close/:user/:repo",
         "method" : "POST",
         "required_params" : [
            "format",
            "user",
            "repo",
            "number"
         ],
         "authentication" : true
      },
      "reopen" : {
         "path" : "/:format/issues/reopen/:user/:repo",
         "method" : "POST",
         "required_params" : [
            "format",
            "user",
            "repo",
            "number"
         ],
         "authentication" : true
      },
      "update_issue" : {
         "path" : "/:format/issues/edit/:user/:repo/:number",
         "method" : "POST",
         "form-data" : {
            "title" :   ":title",
            "body" :    ":body"
         },
         "required_params" : [
            "format",
            "user",
            "repo",
            "number"
         ],
         "optional_params" : [
            "title",
            "body"
         ],
         "authentication" : true
      },
      "list_labels" : {
         "path" : "/:format/issues/labels/:user/:repo",
         "method" : "GET",
         "required_params" : [
            "format",
            "user",
            "repo"
         ]
      },
      "add_label" : {
         "path" : "/:format/issues/label/add/:user/:repo/:label/:number",
         "method" : "POST",
         "required_params" : [
            "format",
            "user",
            "repo",
            "label",
            "number"
         ],
         "authentication" : true
      },
      "remove_label" : {
         "path" : "/:format/issues/label/remove/:user/:repo/:label/:number",
         "method" : "POST",
         "required_params" : [
            "format",
            "user",
            "repo",
            "label",
            "number"
         ],
         "authentication" : true
      },
      "add_comment" : {
         "path" : "/:format/issues/comment/:user/:repo/:number",
         "method" : "POST",
         "form-data" : {
            "comment" : ":comment"
         },
         "required_params" : [
            "format",
            "user",
            "repo",
            "number",
            "comment"
         ],
         "authentication" : true
      }
   },
   "expected_status" : [ 200 ],
   "name" : "GitHub",
   "authority" : "http://github.com/SPORE",
   "meta" : {
      "documentation" : "http://develop.github.com/",
      "module" : "issue"
   }
}