Redis Enterprise API
REST API Specifications¶
Key Concepts¶
Clusters¶
Redis Labs clusters are a set of nodes, typically two or more, providing database services. Clusters are inherently multi-tenant, and a single cluster can manage multiple databases accessed through individual endpoints.
Protocol and Headers¶
JSON Requests and Responses¶
The Redis Labs REST API uses the JavaScript Object Notation (JSON) for requests and responses. Some responses may have an empty body, but indicate the response with standard HTTP codes. For more information, see RFC 4627 (http://www.ietf.org/rfc/rfc4627.txt) and www.json.org.
Both requests and responses may include zero or more objects. In case the request is for a single entity, the response shall return a single JSON object, or none. In case the request if for a list of entities, the response shall return a single JSON array with 0 or more elements. Requests may be delivered with some JSON object fields missing. In this case, these fields will be assigned default values (often indicating they are not in use).
Request Headers¶
The Redis Labs REST API supports the following HTTP headers:
| Header | Supported/Required Values |
|---|---|
| Accept | application/json |
| Content-Length | Length (in bytes) of request message. |
| Content-Type | application/json |
Response Headers¶
The Redis Labs REST API supports the following HTTP headers:
| Header | Supported/Required Values |
|---|---|
| Content-Type | application/json |
| Content-Length | Length (in bytes) of request message. |
API Versions¶
All RLEC API operations are versioned, in order to minimize the impact of backwards-incompatible API changes and to coordinate between different versions operating in parallel.
Authentication¶
Authentication to RLEC API occurs via Basic Auth. Provide your RLEC username and password as the basic auth credentials. All calls must be made over SSL, to port 9443.
Example Request:
curl -u "demo@redislabs.com:password" https://localhost:9443/v1/bdbs
Common Responses¶
The following are common responses which may be returned in some cases regardless of any specific request.
| Response | Condition / Required handling |
|---|---|
| 503 (Service Unavailable) | Contacted node is currently not a member of any active cluster. |
| 505 (HTTP Version Not Supported) | An unsupported X-API-Version was used, see API Versions above. |
noqa: E501
Metadata
Release files for redis-enterprise-python 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| redis-enterprise-python-1.0.3.tar.gz | 149.9 kB | Without provenance | Details for redis-enterprise-python-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| redis_enterprise_python-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for redis_enterprise_python-1.0.3-py3-none-any.whl |
Total release size: 962.6 kB
Release files / redis-enterprise-python-1.0.3.tar.gz
| Download URL | redis-enterprise-python-1.0.3.tar.gz |
|---|---|
| Size | 149.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4eeb6fdc19e50a24e165a0b4d990ab02a4f3c80e93f297c69450863544bb5706
|
|
BLAKE2b-256 checksum How to use checksums |
df4ac53762e58810c76fcbbc779c14e145da65435dad184046feb50a55bd5ed1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.9
|
Release files / redis_enterprise_python-1.0.3-py3-none-any.whl
| Download URL | redis_enterprise_python-1.0.3-py3-none-any.whl |
|---|---|
| Size | 812.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
692100693647f28343edb85427ffba9884af5a08d0a3cc7be4de656b8b1f47c8
|
|
BLAKE2b-256 checksum How to use checksums |
4daeab4ed6f09118c50d9f7a827a4bc06627ce3c9ab46384e1c6f4736dc6135f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.9
|
Security for redis-enterprise-python 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.