You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CommonErrorResponses.rst
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,19 +2,21 @@
2
2
Common Error Responses
3
3
***************************
4
4
5
-
For each request, h5serv returns a standard HTTP status code as described below.
6
-
In general 2xx codes indicate success, 3xx codes some form of redirection, 4xx codes
7
-
client error, and 5xx codes for server errors. In addition to the numeric code, h5serv
8
-
will return an informational message as part of the response providing further
9
-
information on the nature of the error.
5
+
For each request, HDF Kita returns a standard HTTP status code as described below.
6
+
In general 2xx codes indicate success, 3xx codes are returned for some form of redirection,
7
+
4xx codes are returned for a client error, and 5xx codes are returned for server errors.
8
+
In addition to the numeric code, HDF Kita will return an informational message as part of
9
+
the response providing further information on the nature of the error.
10
10
11
11
* ``200 OK`` - The request was completed successfully
12
-
* ``201 Created`` - The request was fulfilled and a new resource (e.g. group, dataset, attribute was created)
12
+
* ``201 Created`` - The request was fulfilled and a new resource (e.g. group, dataset, attribute was created)
13
13
* ``400 Bad Request`` - The request was not structured correctly (e.g. a required key was missing).
14
-
* ``401 Unauthorization`` - Use authentitcation is required, supply an Authentication header with valid user and password
14
+
* ``401 Unauthorization`` - User authentication is required, supply an Authentication header with a valid username and password
15
15
* ``403 Forbidden`` - The requesting user does not have access to the requested resource
16
16
* ``404 Not Found`` - The requested resource was not found (e.g. ``GET /groups/<id>`` where <id> was not a valid identifier for a group in the domain).
17
+
* ``405 Method Not Allowed`` - The HTTP request type was not valid for the given resource (e.g. ``PUT /datasets/<id>/type``)
17
18
* ``409 Conflict`` - This error is used with PUT requests where the resources cannot be created because there is an existing resource with the same name (e.g. PUT / where the requested domain is already present).
18
19
* ``410 Gone`` - The resource requested has been recently deleted.
20
+
* ``413 Selection Too Large`` - This error is used when the selection within a dataset encompasses too large of an area of data for the server to accept/return.
19
21
* ``500 Internal Error`` - An unexpected error that indicates some problem occurred on the server.
20
22
* ``501 Not Implemented`` - The request depends on a feature that is not yet implemented.
Copy file name to clipboardExpand all lines: CommonRequestHeaders.rst
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
Common Request Headers
3
3
***********************
4
4
5
-
The following describe common HTTP request headers as used in h5serv:
5
+
The following describe common HTTP request headers as used in HDF Kita:
6
6
7
-
* Request line: The first line of the request, the format is of the form HTTP verb (GET, PUT, DELETE, or POST) followed by the path to the resource (e.g. /group/<uuid>. Some operations take one or more query parameters (see relevant documentation)
8
-
* Accept: Specified the media type that is acceptable for the response. Valid values are "application/json", and "*/*. In addiiton, GET Value (see :doc:`DatasetOps/GET_Value`) supports the value "application/octet-stream"
7
+
* Request line: The first line of the request, the format is of the form HTTP verb (GET, PUT, DELETE, or POST) followed by the path to the resource (e.g. /group/<uuid>. Some operations take one or more query parameters (see relevant documentation)
8
+
* Accept: Specifies the media type that is acceptable for the response. Valid values are "application/json", and "*/*. In addition, GET/PUT/POST Value (see :doc:`DatasetOps/GET_Value`, :doc:`DatasetOps/PUT_Value`, :doc:`DatasetOps/POST_Value`) support the value "application/octet-stream"
9
9
* Authorization: A string that provides the requester's credentials for the request. See :doc:`Authorization`
10
10
* Host: the domain (i.e. related collection of groups, datasets, and attributes) that the request should apply to
11
-
12
-
Note: the host header can also be provided as a query paramter. Example: https://data.hdfgroup.org:7258/?host=tall.test.data.hdfgroup.org
11
+
12
+
Note: the host header can also be provided as a query parameter. Example: https://data.hdfgroup.org:7258/?host=tall.test.data.hdfgroup.org
# You can set these variables from the command line.
5
5
SPHINXOPTS =
6
6
SPHINXBUILD = sphinx-build
7
-
PAPER =
7
+
SPHINXPROJ = HDFKita
8
+
SOURCEDIR = .
8
9
BUILDDIR = _build
9
10
10
11
# User-friendly check for sphinx-build
11
12
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
12
13
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
0 commit comments