XSKY dp-fs-snapshot-policies API

DpFSSnapshotPolicyController API /dp-fs-snapshot-policies

Operations 5

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

    '
paths:
  /dp-fs-snapshot-policies/:
    get:
      tags:
      - dp-fs-snapshot-policies
      description: List dp fs snapshot policies
      operationId: ListDpFSSnapshotPolicies
      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/DpFSSnapshotPoliciesResp'
        400:
          description: BadRequest
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    post:
      tags:
      - dp-fs-snapshot-policies
      description: Create dp fs snapshot policy
      operationId: CreateDpFSSnapshotPolicy
      responses:
        202:
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpFSSnapshotPolicyResp'
        400:
          description: BadRequest
        409:
          description: Conflict
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DpFSSnapshotPolicyCreateReq'
        description: policy info
        required: true
  /dp-fs-snapshot-policies/{policy_id}:
    get:
      tags:
      - dp-fs-snapshot-policies
      description: Get dp fs snapshot policy
      operationId: GetDpFSSnapshotPolicy
      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/DpFSSnapshotPolicyResp'
        400:
          description: BadRequest
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    delete:
      tags:
      - dp-fs-snapshot-policies
      description: Delete dp fs snapshot policy
      operationId: DeleteDpFSSnapshotPolicy
      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/DpFSSnapshotPolicyResp'
        400:
          description: BadRequest
        404:
          description: NotFound
        409:
          description: Conflict
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    patch:
      tags:
      - dp-fs-snapshot-policies
      description: Update dp fs snapshot policy
      operationId: UpdateDpFSSnapshotPolicy
      parameters:
      - name: policy_id
        in: path
        description: resource id
        required: true
        x-exportParamName: PolicyId
        schema:
          type: integer
          format: int64
      responses:
        202:
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpFSSnapshotPolicyResp'
        400:
          description: BadRequest
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DpFSSnapshotPolicyUpdateReq'
        description: policy info
        required: true
components:
  schemas:
    DpFSSnapshotPolicyCreateReq_Policy:
      type: object
      required:
      - cron_expr
      - dp_gateway_id
      - name
      - retained_max
      properties:
        cron_expr:
          type: string
        dp_gateway_id:
          type: integer
          format: int64
        name:
          type: string
        retained_max:
          type: integer
          format: int64
      title: DpFSSnapshotPolicyCreateReq_Policy
    DpGateway_Nestview:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
      title: DpGateway_Nestview
      example:
        name: name
        id: 6
    DpFSSnapshotPolicyUpdateReq_Policy:
      type: object
      properties:
        cron_expr:
          type: string
        name:
          type: string
        retained_max:
          type: integer
          format: int64
      title: DpFSSnapshotPolicyUpdateReq_Policy
    DpFSSnapshotPolicy:
      type: object
      properties:
        create:
          type: string
          format: date-time
        cron_expr:
          type: string
        dp_gateway:
          $ref: '#/components/schemas/DpGateway_Nestview'
        fs_folder_num:
          type: integer
          format: int64
        id:
          type: integer
          format: int64
        name:
          type: string
        retained_max:
          type: integer
          format: int64
        status:
          type: string
        update:
          type: string
          format: date-time
      title: DpFSSnapshotPolicy
      description: DpFSSnapshotPolicy protects a fs folder by snapshot
      example:
        retained_max: 1
        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
        fs_folder_num: 0
        status: status
    DpFSSnapshotPoliciesResp:
      type: object
      properties:
        dp_fs_snapshot_policies:
          type: array
          items:
            $ref: '#/components/schemas/DpFSSnapshotPolicy'
      title: DpFSSnapshotPoliciesResp
      example:
        dp_fs_snapshot_policies:
        - retained_max: 1
          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
          fs_folder_num: 0
          status: status
        - retained_max: 1
          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
          fs_folder_num: 0
          status: status
    DpFSSnapshotPolicyUpdateReq:
      type: object
      required:
      - dp_fs_snapshot_policy
      properties:
        dp_fs_snapshot_policy:
          $ref: '#/components/schemas/DpFSSnapshotPolicyUpdateReq_Policy'
      title: DpFSSnapshotPolicyUpdateReq
    DpFSSnapshotPolicyResp:
      type: object
      properties:
        dp_fs_snapshot_policy:
          $ref: '#/components/schemas/DpFSSnapshotPolicy'
      title: DpFSSnapshotPolicyResp
      example:
        dp_fs_snapshot_policy:
          retained_max: 1
          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
          fs_folder_num: 0
          status: status
    DpFSSnapshotPolicyCreateReq:
      type: object
      required:
      - dp_fs_snapshot_policy
      properties:
        dp_fs_snapshot_policy:
          $ref: '#/components/schemas/DpFSSnapshotPolicyCreateReq_Policy'
      title: DpFSSnapshotPolicyCreateReq
  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