Apache Dubbo TrafficMock API

The TrafficMock API from Apache Dubbo — 1 operation(s) for trafficmock.

Operations 4

GET /api/{env}/traffic/mock Apache Dubbo Get Rule List
PUT /api/{env}/traffic/mock Apache Dubbo Update Rule
POST /api/{env}/traffic/mock Apache Dubbo Create Rule
DELETE /api/{env}/traffic/mock Apache Dubbo Delete Rule

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-dubbo-trafficmock-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-dubbo-trafficmock-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: This is a dubbo-admin swagger ui server.
  title: Dubbo-Admin ConditionRule Traffic Mock API
  contact: {}
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
- url: https://127.0.0.1:38080/
tags:
- name: TrafficMock
paths:
  /api/{env}/traffic/mock:
    get:
      description: get rule list
      tags:
      - TrafficMock
      summary: Apache Dubbo Get Rule List
      parameters:
      - description: service name
        name: service
        in: query
        required: true
        schema:
          type: string
      - description: service version
        name: version
        in: query
        required: true
        schema:
          type: string
      - description: service group
        name: group
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/model.Mock'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/model.HTTPError'
    put:
      description: update rule
      tags:
      - TrafficMock
      summary: Apache Dubbo Update Rule
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: bool
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/model.HTTPError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/model.HTTPError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/model.Mock'
        description: rule
        required: true
    post:
      description: create rule
      tags:
      - TrafficMock
      summary: Apache Dubbo Create Rule
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: bool
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/model.HTTPError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/model.HTTPError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/model.Mock'
        description: rule
        required: true
    delete:
      description: delete rule
      tags:
      - TrafficMock
      summary: Apache Dubbo Delete Rule
      parameters:
      - description: service name
        name: service
        in: query
        required: true
        schema:
          type: string
      - description: service version
        name: version
        in: query
        required: true
        schema:
          type: string
      - description: service group
        name: group
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: bool
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/model.HTTPError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/model.HTTPError'
components:
  schemas:
    model.Mock:
      type: object
      required:
      - mock
      - service
      properties:
        group:
          type: string
        mock:
          type: string
        service:
          type: string
        version:
          type: string
    model.HTTPError:
      type: object
      properties:
        error:
          description: error message
          type: string