File tree 5 files changed +638
-0
lines changed
ingest/api/reference/rest
5 files changed +638
-0
lines changed Original file line number Diff line number Diff line change
1
+ .. note ::
2
+
3
+ Information in this guide corresponds to the version **40 ** of the Qserv REST API. Keep in mind
4
+ that each implementation of the API has a specific version. The version number will change
5
+ if any changes to the implementation or the API that might affect users will be made.
6
+ The current document will be kept updated to reflect the latest version of the API.
7
+
8
+ ##############################
9
+ The internal REST API of Qserv
10
+ ##############################
11
+
12
+ .. toctree ::
13
+ :maxdepth: 2
14
+
15
+ introduction
16
+ repl-worker
Original file line number Diff line number Diff line change
1
+ .. _qserv-api-introduction :
2
+
3
+ Introduction
4
+ ============
5
+
6
+ The Qserv REST API is a collection of RESTful web services that provide access to various components of the Qserv system.
7
+ The API enforces a specific interaction model between the client and the server. The following highlights are worth mentioning:
8
+
9
+ - All ``POST ``, ``PUT `` and ``DELETE `` requests must be accompanied by a JSON payload.
10
+ - Responses of all but a few select services are in JSON format. Exceptions are documented in the API documentation.
11
+ - Schemas of the JSON requests and payloads are defined in the API documentation.
12
+ - The API is versioned. The version number is included in the URL path of the ``GET `` requests, and it's
13
+ included into the JSON payload of the ``POST ``, ``PUT `` and ``DELETE `` requests.
14
+ - All API services are protected by an authentication mechanism. The client must provide a valid
15
+ authentication token in the JSON payload of the ``POST ``, ``PUT `` and ``DELETE `` requests.
16
+ No authentication is required for the ``GET `` requests.
17
+
18
+ The general information on the structure of the API can be found in the following document:
19
+
20
+ - :ref: `ingest-general `
21
+
22
+ The rest of the current document provides detailed information on the individual services that are available in the Qserv API.
You can’t perform that action at this time.
0 commit comments