Apache ShardingSphere ReadwriteSplitting API

The ReadwriteSplitting API from Apache ShardingSphere — 1 operation(s) for readwritesplitting.

Operations 1

GET /databases/{databaseName}/rules/readwrite-splitting Apache ShardingSphere Get Readwrite Splitting Rules #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/apache-shardingsphere-readwritesplitting-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

apache-shardingsphere-readwritesplitting-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Apache ShardingSphere REST Cluster Readwrite Splitting API
  description: Apache ShardingSphere is a distributed SQL transaction and query engine that transforms any database into a distributed database system. This API provides REST endpoints for managing sharding rules, data sources, read-write splitting, and cluster configuration via DistSQL.
  version: 5.4.0
  contact:
    name: Apache ShardingSphere
    url: https://shardingsphere.apache.org/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://shardingsphere.example.com/api
  description: Apache ShardingSphere REST API
tags:
- name: ReadwriteSplitting
paths:
  /databases/{databaseName}/rules/readwrite-splitting:
    get:
      operationId: getReadwriteSplittingRules
      summary: Apache ShardingSphere Get Readwrite Splitting Rules
      description: Get read-write splitting rules configured for a database.
      tags:
      - ReadwriteSplitting
      x-microcks-operation:
        dispatcher: URI_PARTS
        dispatcherRules: databaseName
      parameters:
      - name: databaseName
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Readwrite splitting rules
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadwriteSplittingRuleList'
components:
  schemas:
    ReadwriteSplittingRuleList:
      type: object
      description: List of read-write splitting rules
      properties:
        rules:
          type: array
          items:
            $ref: '#/components/schemas/ReadwriteSplittingRule'
    ReadwriteSplittingRule:
      type: object
      description: Read-write splitting configuration
      properties:
        name:
          type: string
          description: Rule name
        writeDataSourceName:
          type: string
          description: Primary/write data source
        readDataSourceNames:
          type: array
          items:
            type: string
          description: Replica/read data sources
        loadBalancerName:
          type: string
          description: Load balancer algorithm name