XSKY dp-block-replication-policies API

DpBlockReplicationPolicyController API /dp-block-replication-policies

Operations 5

GET /dp-block-replication-policies/ #
POST /dp-block-replication-policies/ #
GET /dp-block-replication-policies/{policy_id} #
DELETE /dp-block-replication-policies/{policy_id} #
PATCH /dp-block-replication-policies/{policy_id} #

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/xsky-dp-block-replication-policies-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

xsky-dp-block-replication-policies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: XMS is the controller of distributed storage system
  version: SDS_4.2.000.0.200302
  title: XMS access-paths Dp Block Replication Policies API
  contact: {}
  license:
    name: Commercial
servers:
- url: /v1
tags:
- name: dp-block-replication-policies
  description: 'DpBlockReplicationPolicyController API /dp-block-replication-policies

    '
paths:
  /dp-block-replication-policies/:
    get:
      tags:
      - dp-block-replication-policies
      description: List dp block replication policies
      operationId: ListDpBlockReplicationPolicies
      parameters:
      - name: limit
        in: query
        description: paging param
        required: false
        x-exportParamName: Limit
        schema:
          type: integer
          format: int64
      - name: offset
        in: query
        description: paging param
        required: false
        x-exportParamName: Offset
        schema:
          type: integer
          format: int64
      - name: q
        in: query
        description: query param of search
        required: false
        x-exportParamName: Q
        schema:
          type: string
      - name: sort
        in: query
        description: sort param of search
        required: false
        x-exportParamName: Sort
        schema:
          type: string
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpBlockReplicationPoliciesResp'
        400:
          description: BadRequest
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    post:
      tags:
      - dp-block-replication-policies
      description: Create dp block replication policy
      operationId: CreateDpBlockReplicationPolicy
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpBlockReplicationPolicyResp'
        400:
          description: BadRequest
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DpBlockReplicationPolicyCreateReq'
        description: policy info
        required: true
  /dp-block-replication-policies/{policy_id}:
    get:
      tags:
      - dp-block-replication-policies
      description: Get dp block replication policy
      operationId: GetDpBlockReplicationPolicy
      parameters:
      - name: policy_id
        in: path
        description: resource id
        required: true
        x-exportParamName: PolicyId
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpBlockReplicationPolicyResp'
        400:
          description: BadRequest
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    delete:
      tags:
      - dp-block-replication-policies
      description: Delete dp block replication policy
      operationId: DeleteDpBlockReplicationPolicy
      parameters:
      - name: policy_id
        in: path
        description: policy id
        required: true
        x-exportParamName: PolicyId
        schema:
          type: integer
          format: int64
      responses:
        204:
          description: NoContent
        400:
          description: BadRequest
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    patch:
      tags:
      - dp-block-replication-policies
      description: Update dp block replication policy
      operationId: UpdateDpBlockReplicationPolicy
      parameters:
      - name: policy_id
        in: path
        description: resource id
        required: true
        x-exportParamName: PolicyId
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpBlockReplicationPolicyResp'
        400:
          description: BadRequest
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DpBlockReplicationPolicyUpdateReq'
        description: policy info
        required: true
components:
  schemas:
    DpBlockReplicationPolicyCreateReq:
      type: object
      required:
      - dp_block_replication_policy
      properties:
        dp_block_replication_policy:
          $ref: '#/components/schemas/DpBlockReplicationPolicyCreateReq_Policy'
      title: DpBlockReplicationPolicyCreateReq
      example:
        dp_block_replication_policy:
          name: name
          dp_site_id: 0
          timeout_seconds: 6
    DpBlockReplicationPolicyResp:
      type: object
      properties:
        dp_block_replication_policy:
          $ref: '#/components/schemas/DpBlockReplicationPolicy'
      title: DpBlockReplicationPolicyResp
      example:
        dp_block_replication_policy:
          dp_site:
            name: name
            id: 1
          name: name
          create: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          id: 0
          timeout_seconds: 6
          status: status
    DpSite_Nestview:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
      title: DpSite_Nestview
      example:
        name: name
        id: 1
    DpBlockReplicationPolicyUpdateReq:
      type: object
      required:
      - dp_block_replication_policy
      properties:
        dp_block_replication_policy:
          $ref: '#/components/schemas/DpBlockReplicationPolicyUpdateReq_Policy'
      title: DpBlockReplicationPolicyUpdateReq
      example:
        dp_block_replication_policy:
          name: name
          timeout_seconds: 0
    DpBlockReplicationPoliciesResp:
      type: object
      properties:
        dp_block_replication_policies:
          type: array
          items:
            $ref: '#/components/schemas/DpBlockReplicationPolicy'
      title: DpBlockReplicationPoliciesResp
      example:
        dp_block_replication_policies:
        - dp_site:
            name: name
            id: 1
          name: name
          create: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          id: 0
          timeout_seconds: 6
          status: status
        - dp_site:
            name: name
            id: 1
          name: name
          create: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          id: 0
          timeout_seconds: 6
          status: status
    DpBlockReplicationPolicyUpdateReq_Policy:
      type: object
      properties:
        name:
          type: string
          description: name
        timeout_seconds:
          type: integer
          format: int64
          description: replication timeout seconds
      title: DpBlockReplicationPolicyUpdateReq_Policy
      example:
        name: name
        timeout_seconds: 0
    DpBlockReplicationPolicyCreateReq_Policy:
      type: object
      required:
      - dp_site_id
      - name
      - timeout_seconds
      properties:
        dp_site_id:
          type: integer
          format: int64
          description: protection site id
        name:
          type: string
          description: name
        timeout_seconds:
          type: integer
          format: int64
          description: replication timeout seconds
      title: DpBlockReplicationPolicyCreateReq_Policy
      example:
        name: name
        dp_site_id: 0
        timeout_seconds: 6
    DpBlockReplicationPolicy:
      type: object
      properties:
        create:
          type: string
          format: date-time
        dp_site:
          $ref: '#/components/schemas/DpSite_Nestview'
        id:
          type: integer
          format: int64
        name:
          type: string
        status:
          type: string
        timeout_seconds:
          type: integer
          format: int64
        update:
          type: string
          format: date-time
      title: DpBlockReplicationPolicy
      description: DpBlockReplicationPolicy protects a block volume by sync replication
      example:
        dp_site:
          name: name
          id: 1
        name: name
        create: '2000-01-23T04:56:07.000+00:00'
        update: '2000-01-23T04:56:07.000+00:00'
        id: 0
        timeout_seconds: 6
        status: status
  securitySchemes:
    tokenInHeader:
      description: auth by token
      type: apiKey
      name: Xms-Auth-Token
      in: header
    tokenInQuery:
      description: auth by token
      type: apiKey
      name: token
      in: query