Redis Enterprise API
Project description
REST API Specifications[¶](#rest-api-specifications \"Permalink to this headline\") ================================================================================= Key Concepts[¶](#key-concepts \"Permalink to this headline\") ----------------------------------------------------------- ### Clusters[¶](#clusters \"Permalink to this headline\") 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[¶](#protocol-and-headers \"Permalink to this headline\") --------------------------------------------------------------------------- ### JSON Requests and Responses[¶](#json-requests-and-responses \"Permalink to this headline\") 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](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[¶](#request-headers \"Permalink to this headline\") 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[¶](#response-headers \"Permalink to this headline\") 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[¶](#api-versions \"Permalink to this headline\") ----------------------------------------------------------- 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 \"Permalink to this headline\") --------------------------------------------------------------- Authentication to RLEC API occurs via [Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Provide your RLEC username and password as the basic auth credentials. All calls must be made over SSL, to port 9443. Example Request: ```bash curl \-u \"demo@redislabs.com:password\" https://localhost:9443/v1/bdbs ``` Common Responses[¶](#common-responses \"Permalink to this headline\") ------------------------------------------------------------------- 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
redis-enterprise-python-1.0.2.tar.gz
(149.9 kB
view hashes)
Built Distribution
Close
Hashes for redis-enterprise-python-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dbc6fc875fbcda922428feec106444cd81afed0c108396de2356d5218d3423c |
|
MD5 | 1e38326af456c1983161e442e258b6a5 |
|
BLAKE2b-256 | e758893895a636ad9349b9c0b91d66d1a49526a4d6441dd0f1a6eb024e55b880 |
Close
Hashes for redis_enterprise_python-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af89e4550423446a33c2c86d655dd51c4e9746b8c31b6c7f96abdba88c2540d2 |
|
MD5 | 0d34b0dcf6e23a62ba5d06e0cdb4fc9a |
|
BLAKE2b-256 | 16497769fd6173ca768ab59564b5bddf171b304c18e9e6dee9cbef02c997f4c9 |