XSKY block-volume-migration-jobs API

BlockVolumeMigrationJobController Operations about block volume migration job

Operations 4

GET /block-volume-migration-jobs/ #
GET /block-volume-migration-jobs/{block_volume_migration_job_id} #
POST /block-volume-migration-jobs/{block_volume_migration_job_id}:cancel #
POST /block-volume-migration-jobs/{block_volume_migration_job_id}:update #

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-block-volume-migration-jobs-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-block-volume-migration-jobs-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 Block Volume Migration Jobs API
  contact: {}
  license:
    name: Commercial
servers:
- url: /v1
tags:
- name: block-volume-migration-jobs
  description: 'BlockVolumeMigrationJobController Operations about block volume migration job

    '
paths:
  /block-volume-migration-jobs/:
    get:
      tags:
      - block-volume-migration-jobs
      description: List volume migration jobs
      operationId: ListBlockVolumeMigrationJobs
      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: status
        in: query
        description: the status of volume migration job
        required: false
        x-exportParamName: Status
        schema:
          type: string
      - 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/BlockVolumeMigrationJobsResp'
        400:
          description: BadRequest
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
  /block-volume-migration-jobs/{block_volume_migration_job_id}:
    get:
      tags:
      - block-volume-migration-jobs
      description: get a volume migration job
      operationId: GetBlockVolumeMigrationJob
      parameters:
      - name: block_volume_migration_job_id
        in: path
        description: volume migration job id
        required: true
        x-exportParamName: BlockVolumeMigrationJobId
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlockVolumeMigrationJobResp'
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
  /block-volume-migration-jobs/{block_volume_migration_job_id}:cancel:
    post:
      tags:
      - block-volume-migration-jobs
      operationId: CancelBlockVolumeMigrationJob
      parameters:
      - name: block_volume_migration_job_id
        in: path
        description: block volume migration job id
        required: true
        x-exportParamName: BlockVolumeMigrationJobId
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlockVolumeMigrationJobResp'
        202:
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlockVolumeMigrationJobResp'
        400:
          description: BadRequest
        404:
          description: NotFound
        409:
          description: Conflict
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
  /block-volume-migration-jobs/{block_volume_migration_job_id}:update:
    post:
      tags:
      - block-volume-migration-jobs
      operationId: UpdateMigration
      parameters:
      - name: block_volume_migration_job_id
        in: path
        description: block volume migration job id
        required: true
        x-exportParamName: BlockVolumeMigrationJobId
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlockVolumeMigrationJobResp'
        202:
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlockVolumeMigrationJobResp'
        400:
          description: BadRequest
        404:
          description: NotFound
        409:
          description: Conflict
        500:
          description: InternalServerError
      security:
      - tokenInHeader: []
      - tokenInQuery: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BlockVolumeUpdateMigrationReq'
        description: volume migration udpate info
        required: true
components:
  schemas:
    BlockVolumeUpdateMigrationReq_VolumeMigrationJob:
      type: object
      required:
      - stripes
      properties:
        stripes:
          type: integer
          format: int64
      title: BlockVolumeUpdateMigrationReq_VolumeMigrationJob
      example:
        stripes: 0
    Task:
      type: object
      properties:
        create:
          type: string
          format: date-time
        data:
          type: string
        error_msg:
          type: string
        execute:
          type: string
          format: date-time
        finish:
          type: string
          format: date-time
        host:
          $ref: '#/components/schemas/Host_Nestview'
        host_role:
          type: string
        id:
          type: integer
          format: int64
        priority:
          type: integer
          format: int64
        retried:
          type: boolean
        retry:
          type: integer
          format: int64
        retry_type:
          type: string
        status:
          type: string
        type:
          type: string
        update:
          type: string
          format: date-time
      title: Task
      description: Task defines a task will be run on a host @grpc-models-proto
      example:
        retried: true
        error_msg: error_msg
        data: data
        update: '2000-01-23T04:56:07.000+00:00'
        priority: 5
        type: type
        execute: '2000-01-23T04:56:07.000+00:00'
        host_role: host_role
        host:
          name: name
          admin_ip: admin_ip
          id: 0
        create: '2000-01-23T04:56:07.000+00:00'
        finish: '2000-01-23T04:56:07.000+00:00'
        id: 5
        retry: 2
        retry_type: retry_type
        status: status
    Pool_Nestview:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
      title: Pool_Nestview
      example:
        name: name
        id: 5
    VolumeMigrationJob:
      type: object
      properties:
        create:
          type: string
          format: date-time
        dest_pool:
          $ref: '#/components/schemas/Pool_Nestview'
        finished_at:
          type: string
          format: date-time
        host:
          $ref: '#/components/schemas/Host_Nestview'
        id:
          type: integer
          format: int64
        remaining_time:
          type: integer
          format: int64
        source_pool:
          $ref: '#/components/schemas/Pool_Nestview'
        started_at:
          type: string
          format: date-time
        status:
          type: string
        stripes:
          type: integer
          format: int64
        task:
          $ref: '#/components/schemas/Task'
        update:
          type: string
          format: date-time
        volume:
          $ref: '#/components/schemas/Volume_Nestview'
      title: VolumeMigrationJob
      description: VolumeMigrationJob defines the volume migration job record
      example:
        finished_at: '2000-01-23T04:56:07.000+00:00'
        update: '2000-01-23T04:56:07.000+00:00'
        stripes: 1
        volume:
          original_name: original_name
          name: name
          id: 9
        remaining_time: 6
        source_pool:
          name: name
          id: 5
        task:
          retried: true
          error_msg: error_msg
          data: data
          update: '2000-01-23T04:56:07.000+00:00'
          priority: 5
          type: type
          execute: '2000-01-23T04:56:07.000+00:00'
          host_role: host_role
          host:
            name: name
            admin_ip: admin_ip
            id: 0
          create: '2000-01-23T04:56:07.000+00:00'
          finish: '2000-01-23T04:56:07.000+00:00'
          id: 5
          retry: 2
          retry_type: retry_type
          status: status
        host:
          name: name
          admin_ip: admin_ip
          id: 0
        create: '2000-01-23T04:56:07.000+00:00'
        dest_pool:
          name: name
          id: 5
        started_at: '2000-01-23T04:56:07.000+00:00'
        id: 0
        status: status
    BlockVolumeUpdateMigrationReq:
      type: object
      properties:
        volume_migration_job:
          $ref: '#/components/schemas/BlockVolumeUpdateMigrationReq_VolumeMigrationJob'
      title: BlockVolumeUpdateMigrationReq
      example:
        volume_migration_job:
          stripes: 0
    Volume_Nestview:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        original_name:
          type: string
      title: Volume_Nestview
      example:
        original_name: original_name
        name: name
        id: 9
    BlockVolumeMigrationJobResp:
      type: object
      required:
      - block_volume_migration_job
      properties:
        block_volume_migration_job:
          description: volume migration job
          $ref: '#/components/schemas/VolumeMigrationJob'
      title: BlockVolumeMigrationJobResp
      example:
        block_volume_migration_job:
          finished_at: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          stripes: 1
          volume:
            original_name: original_name
            name: name
            id: 9
          remaining_time: 6
          source_pool:
            name: name
            id: 5
          task:
            retried: true
            error_msg: error_msg
            data: data
            update: '2000-01-23T04:56:07.000+00:00'
            priority: 5
            type: type
            execute: '2000-01-23T04:56:07.000+00:00'
            host_role: host_role
            host:
              name: name
              admin_ip: admin_ip
              id: 0
            create: '2000-01-23T04:56:07.000+00:00'
            finish: '2000-01-23T04:56:07.000+00:00'
            id: 5
            retry: 2
            retry_type: retry_type
            status: status
          host:
            name: name
            admin_ip: admin_ip
            id: 0
          create: '2000-01-23T04:56:07.000+00:00'
          dest_pool:
            name: name
            id: 5
          started_at: '2000-01-23T04:56:07.000+00:00'
          id: 0
          status: status
    Host_Nestview:
      type: object
      required:
      - admin_ip
      properties:
        admin_ip:
          type: string
        id:
          type: integer
          format: int64
        name:
          type: string
      title: Host_Nestview
      example:
        name: name
        admin_ip: admin_ip
        id: 0
    BlockVolumeMigrationJobsResp:
      type: object
      required:
      - block_volume_migration_jobs
      properties:
        block_volume_migration_jobs:
          type: array
          description: volume migration jobs
          items:
            $ref: '#/components/schemas/VolumeMigrationJob'
      title: BlockVolumeMigrationJobsResp
      example:
        block_volume_migration_jobs:
        - finished_at: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          stripes: 1
          volume:
            original_name: original_name
            name: name
            id: 9
          remaining_time: 6
          source_pool:
            name: name
            id: 5
          task:
            retried: true
            error_msg: error_msg
            data: data
            update: '2000-01-23T04:56:07.000+00:00'
            priority: 5
            type: type
            execute: '2000-01-23T04:56:07.000+00:00'
            host_role: host_role
            host:
              name: name
              admin_ip: admin_ip
              id: 0
            create: '2000-01-23T04:56:07.000+00:00'
            finish: '2000-01-23T04:56:07.000+00:00'
            id: 5
            retry: 2
            retry_type: retry_type
            status: status
          host:
            name: name
            admin_ip: admin_ip
            id: 0
          create: '2000-01-23T04:56:07.000+00:00'
          dest_pool:
            name: name
            id: 5
          started_at: '2000-01-23T04:56:07.000+00:00'
          id: 0
          status: status
        - finished_at: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          stripes: 1
          volume:
            original_name: original_name
            name: name
            id: 9
          remaining_time: 6
          source_pool:
            name: name
            id: 5
          task:
            retried: true
            error_msg: error_msg
            data: data
            update: '2000-01-23T04:56:07.000+00:00'
            priority: 5
            type: type
            execute: '2000-01-23T04:56:07.000+00:00'
            host_role: host_role
            host:
              name: name
              admin_ip: admin_ip
              id: 0
            create: '2000-01-23T04:56:07.000+00:00'
            finish: '2000-01-23T04:56:07.000+00:00'
            id: 5
            retry: 2
            retry_type: retry_type
            status: status
          host:
            name: name
            admin_ip: admin_ip
            id: 0
          create: '2000-01-23T04:56:07.000+00:00'
          dest_pool:
            name: name
            id: 5
          started_at: '2000-01-23T04:56:07.000+00:00'
          id: 0
          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