XSKY dp-block-snapshot-policies API

DpBlockSnapshotPolicyController API /dp-block-snapshot-policies

Operations 5

GET /dp-block-snapshot-policies/ #
POST /dp-block-snapshot-policies/ #
GET /dp-block-snapshot-policies/{policy_id} #
DELETE /dp-block-snapshot-policies/{policy_id} #
PATCH /dp-block-snapshot-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-snapshot-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-snapshot-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 Snapshot Policies API
  contact: {}
  license:
    name: Commercial
servers:
- url: /v1
tags:
- name: dp-block-snapshot-policies
  description: 'DpBlockSnapshotPolicyController API /dp-block-snapshot-policies

    '
paths:
  /dp-block-snapshot-policies/:
    get:
      tags:
      - dp-block-snapshot-policies
      description: List dp block snapshot policies
      operationId: ListDpBlockSnapshotPolicies
      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/DpBlockSnapshotPoliciesResp'
        400:
          description: BadRequest
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    post:
      tags:
      - dp-block-snapshot-policies
      description: Create dp block snapshot policy
      operationId: CreateDpBlockSnapshotPolicy
      responses:
        202:
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpBlockSnapshotPolicyResp'
        400:
          description: BadRequest
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DpBlockSnapshotPolicyCreateReq'
        description: policy info
        required: true
  /dp-block-snapshot-policies/{policy_id}:
    get:
      tags:
      - dp-block-snapshot-policies
      description: Get dp block snapshot policy
      operationId: GetDpBlockSnapshotPolicy
      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/DpBlockSnapshotPolicyResp'
        400:
          description: BadRequest
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    delete:
      tags:
      - dp-block-snapshot-policies
      description: Delete dp block snapshot policy
      operationId: DeleteDpBlockSnapshotPolicy
      parameters:
      - name: policy_id
        in: path
        description: resource id
        required: true
        x-exportParamName: PolicyId
        schema:
          type: integer
          format: int64
      - name: force
        in: query
        description: force delete or not
        required: false
        x-exportParamName: Force
        schema:
          type: boolean
      responses:
        202:
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpBlockSnapshotPolicyResp'
        400:
          description: BadRequest
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    patch:
      tags:
      - dp-block-snapshot-policies
      description: Update dp block snapshot policy
      operationId: UpdateDpBlockSnapshotPolicy
      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/DpBlockSnapshotPolicyResp'
        202:
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpBlockSnapshotPolicyResp'
        400:
          description: BadRequest
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DpBlockSnapshotPolicyUpdateReq'
        description: policy info
        required: true
components:
  schemas:
    DpBlockSnapshotPolicy:
      type: object
      properties:
        block_volume_num:
          type: integer
          format: int64
        create:
          type: string
          format: date-time
        cron_expr:
          type: string
        dp_gateway:
          $ref: '#/components/schemas/DpGateway_Nestview'
        id:
          type: integer
          format: int64
        name:
          type: string
        retained_max:
          type: integer
          format: int64
        status:
          type: string
        update:
          type: string
          format: date-time
      title: DpBlockSnapshotPolicy
      description: DpBlockSnapshotPolicy protects a block volume by snapshot
      example:
        retained_max: 1
        block_volume_num: 0
        cron_expr: cron_expr
        name: name
        create: '2000-01-23T04:56:07.000+00:00'
        update: '2000-01-23T04:56:07.000+00:00'
        dp_gateway:
          name: name
          id: 6
        id: 6
        status: status
    DpBlockSnapshotPoliciesResp:
      type: object
      properties:
        dp_block_snapshot_policies:
          type: array
          items:
            $ref: '#/components/schemas/DpBlockSnapshotPolicy'
      title: DpBlockSnapshotPoliciesResp
      example:
        dp_block_snapshot_policies:
        - retained_max: 1
          block_volume_num: 0
          cron_expr: cron_expr
          name: name
          create: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          dp_gateway:
            name: name
            id: 6
          id: 6
          status: status
        - retained_max: 1
          block_volume_num: 0
          cron_expr: cron_expr
          name: name
          create: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          dp_gateway:
            name: name
            id: 6
          id: 6
          status: status
    DpBlockSnapshotPolicyCreateReq_Policy:
      type: object
      required:
      - cron_expr
      - dp_gateway_id
      - name
      - retained_max
      properties:
        cron_expr:
          type: string
          description: cron expression
        dp_gateway_id:
          type: integer
          format: int64
          description: dp gateway
        name:
          type: string
          description: name
        retained_max:
          type: integer
          format: int64
          description: retained max number of snapshots
      title: DpBlockSnapshotPolicyCreateReq_Policy
      example:
        retained_max: 6
        dp_gateway_id: 0
        cron_expr: cron_expr
        name: name
    DpGateway_Nestview:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
      title: DpGateway_Nestview
      example:
        name: name
        id: 6
    DpBlockSnapshotPolicyCreateReq:
      type: object
      required:
      - dp_block_snapshot_policy
      properties:
        dp_block_snapshot_policy:
          $ref: '#/components/schemas/DpBlockSnapshotPolicyCreateReq_Policy'
      title: DpBlockSnapshotPolicyCreateReq
      example:
        dp_block_snapshot_policy:
          retained_max: 6
          dp_gateway_id: 0
          cron_expr: cron_expr
          name: name
    DpBlockSnapshotPolicyUpdateReq_Policy:
      type: object
      properties:
        cron_expr:
          type: string
          description: cron expression
        name:
          type: string
          description: name
        retained_max:
          type: integer
          format: int64
          description: retained max number of snapshots
      title: DpBlockSnapshotPolicyUpdateReq_Policy
      example:
        retained_max: 0
        cron_expr: cron_expr
        name: name
    DpBlockSnapshotPolicyResp:
      type: object
      properties:
        dp_block_snapshot_policy:
          $ref: '#/components/schemas/DpBlockSnapshotPolicy'
      title: DpBlockSnapshotPolicyResp
      example:
        dp_block_snapshot_policy:
          retained_max: 1
          block_volume_num: 0
          cron_expr: cron_expr
          name: name
          create: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          dp_gateway:
            name: name
            id: 6
          id: 6
          status: status
    DpBlockSnapshotPolicyUpdateReq:
      type: object
      required:
      - dp_block_snapshot_policy
      properties:
        dp_block_snapshot_policy:
          $ref: '#/components/schemas/DpBlockSnapshotPolicyUpdateReq_Policy'
      title: DpBlockSnapshotPolicyUpdateReq
      example:
        dp_block_snapshot_policy:
          retained_max: 0
          cron_expr: cron_expr
          name: name
  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