-
Notifications
You must be signed in to change notification settings - Fork 3
/
http_response_codes.html
129 lines (101 loc) · 3.9 KB
/
http_response_codes.html
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
<meta name="generator" content=
"HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
<title>BUGswarm Developers</title>
<link rel="stylesheet" href="bootstrap/bootstrap.css" type=
"text/css">
<link rel="stylesheet" href="css/this.css" type="text/css">
<link rel="stylesheet" href=
"js/google-code-prettify/prettify.css" type="text/css">
<script src="http://code.jquery.com/jquery-1.5.2.js" type=
"text/javascript">
</script>
<script src="js/google-code-prettify/prettify.js" type=
"text/javascript">
</script>
<script src="js/application.js" type="text/javascript">
</script>
<script src="js/google-analytics.js" type="text/javascript">
</script>
</head>
<body>
<!-- NAVIGATION-->
<div class="topbar">
<div class="topbar-inner">
<div class="container">
<h3><a id="banner" href="index.html" name=
"banner"><img src="images/bs_logo.png"></a></h3>
<ul class="nav">
<li class="dropdown nav-dropdown">
<a href="documentation.html" class=
"dropdown-toggle">Documentation</a>
<ul class="dropdown-menu">
<li><a href=
"configuration_api.html">Configuration</a></li>
<li><a href=
"participation_api.html">Participation</a></li>
</ul>
</li>
<li><a href="tools.html">Tools</a></li>
<li><a href="libraries.html">Libraries</a></li>
<li><a href="tutorial.html">Tutorial</a></li>
<li><a href="applications.html">Applications</a></li>
<li><a href="hardware.html">Hardware</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
</div>
</div><!-- CONTENT-->
<div class="container">
<!-- Path-->
<div class="page-header">
<a href="index.html">Home</a> → <a href=
"api_documentation.html">API Documentation</a> →
<a href="configuration_api.html">Configuration</a> →
HTTP Response Codes
</div><!-- Header-->
<h1>HTTP Response Codes</h1>
<p>A list of HTTP response codes that may be returned when
using the BUGswarm API and their associated meanings.</p>
<div class="page-header">
<h2>Codes</h2>
</div>
<ul class="unstyled">
<li><strong>200:</strong> Request was received and handled
without error. The server will return information based on
the request.</li>
<li><strong>201:</strong> The entity was succesfully
created.</li>
<li><strong>204:</strong> Request was received and handled
without error. No information will be returned by the
server.</li>
<li><strong>400:</strong> Bad request. There was something
wrong with the specified data. It may have been an
unrecognizable format or missing a field. The platform will
provide a descriptive message with the application error code
for easier debugging.</li>
<li><strong>401:</strong> Unauthorized. You may not have
specified the HTTP header containing your API key.</li>
<li><strong>403:</strong> Forbidden. The resource may exist,
but you do not have access to it due to application-level
constraints.</li>
<li><strong>404:</strong> Not found. Either the specified URL
does not exist in the server or the entity itself does not
exist in the database.</li>
<li><strong>409:</strong> Conflict. There was a conflict with
the request.</li>
<li><strong>500:</strong> Internal error. Something went
wrong with the server. If you receive this error response,
please notify the BUGswarm development team.</li>
</ul>
<div class="page-header">
<h2>Format</h2>
</div>
<pre class="prettyprint language-javascript">
[{code: 'xxx', description: 'foo'}, {code: 'yyy', description: 'bar'}]
</pre>
</div>
</body>
</html>