XSKY network-diagnoses API

NetworkDiagnosisController provides API for network diagnosis

Operations 5

GET /network-diagnoses/ #
POST /network-diagnoses/ #
GET /network-diagnoses/{network_diagnosis_id} #
DELETE /network-diagnoses/{network_diagnosis_id} #
POST /network-diagnoses/{network_diagnosis_id}:stop #

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-network-diagnoses-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-network-diagnoses-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 Network Diagnoses API
  contact: {}
  license:
    name: Commercial
servers:
- url: /v1
tags:
- name: network-diagnoses
  description: 'NetworkDiagnosisController provides API for network diagnosis

    '
paths:
  /network-diagnoses/:
    get:
      tags:
      - network-diagnoses
      description: List network diagnoses
      operationId: ListNetworkDiagnoses
      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
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkDiagnosesResp'
        500:
          description: InternalServerError
      security:
      - tokenInHeader: []
      - tokenInQuery: []
    post:
      tags:
      - network-diagnoses
      description: Create network diagnosis
      operationId: CreateNetworkDiagnosis
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkDiagnosisResp'
        201:
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkDiagnosisResp'
        400:
          description: BadRequest
        404:
          description: NotFound
        409:
          description: Conflict
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NetworkDiagnosisCreateReq'
        description: network diagnosis info
        required: true
  /network-diagnoses/{network_diagnosis_id}:
    get:
      tags:
      - network-diagnoses
      description: Get network diagnosis
      operationId: GetNetworkDiagnosis
      parameters:
      - name: network_diagnosis_id
        in: path
        description: network diagnosis id
        required: true
        x-exportParamName: NetworkDiagnosisId
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkDiagnosisResp'
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    delete:
      tags:
      - network-diagnoses
      description: delete network diagnosis
      operationId: DeleteNetworkDiagnosis
      parameters:
      - name: network_diagnosis_id
        in: path
        description: network diagnosis id
        required: true
        x-exportParamName: NetworkDiagnosisId
        schema:
          type: integer
          format: int64
      responses:
        204:
          description: Not Content
        404:
          description: NotFound
        409:
          description: Conflict
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
  /network-diagnoses/{network_diagnosis_id}:stop:
    post:
      tags:
      - network-diagnoses
      description: stop network diagnosis
      operationId: StopNetworkDiagnosis
      parameters:
      - name: network_diagnosis_id
        in: path
        description: network diagnosis id
        required: true
        x-exportParamName: NetworkDiagnosisId
        schema:
          type: integer
          format: int64
      responses:
        202:
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkDiagnosisResp'
        404:
          description: NotFound
        409:
          description: Conflict
        500:
          description: InternalServerError
      security:
      - tokenInHeader: []
      - tokenInQuery: []
components:
  schemas:
    NetworkDiagnosis:
      type: object
      properties:
        create:
          type: string
          format: date-time
        diagnose_active_num:
          type: integer
          format: int64
        diagnose_error_num:
          type: integer
          format: int64
        diagnose_num:
          type: integer
          format: int64
        diagnose_warning_num:
          type: integer
          format: int64
        diagnosing_num:
          type: integer
          format: int64
        host_num:
          type: integer
          format: int64
        id:
          type: integer
          format: int64
        networks:
          type: array
          items:
            type: string
        not_diagnose_num:
          type: integer
          format: int64
        progress:
          type: number
          format: double
        status:
          type: string
        update:
          type: string
          format: date-time
      title: NetworkDiagnosis
      description: NetworkDiagnosis defines model of network diagnosis
      example:
        diagnose_warning_num: 5
        diagnose_active_num: 0
        update: '2000-01-23T04:56:07.000+00:00'
        networks:
        - networks
        - networks
        diagnose_error_num: 6
        diagnosing_num: 5
        host_num: 2
        create: '2000-01-23T04:56:07.000+00:00'
        diagnose_num: 1
        progress: 3.616076749251911
        id: 7
        not_diagnose_num: 9
        status: status
    NetworkDiagnosisCreateReq:
      type: object
      required:
      - network_diagnosis
      properties:
        network_diagnosis:
          $ref: '#/components/schemas/NetworkDiagnosisCreateReq_Diagnosis'
      title: NetworkDiagnosisCreateReq
      example:
        network_diagnosis:
          host_scope: host_scope
          host_ids:
          - 0
          - 0
          networks:
          - networks
          - networks
    NetworkDiagnosesResp:
      type: object
      required:
      - network_diagnoses
      properties:
        network_diagnoses:
          type: array
          description: network diagnoses
          items:
            $ref: '#/components/schemas/NetworkDiagnosis'
      title: NetworkDiagnosesResp
      example:
        network_diagnoses:
        - diagnose_warning_num: 5
          diagnose_active_num: 0
          update: '2000-01-23T04:56:07.000+00:00'
          networks:
          - networks
          - networks
          diagnose_error_num: 6
          diagnosing_num: 5
          host_num: 2
          create: '2000-01-23T04:56:07.000+00:00'
          diagnose_num: 1
          progress: 3.616076749251911
          id: 7
          not_diagnose_num: 9
          status: status
        - diagnose_warning_num: 5
          diagnose_active_num: 0
          update: '2000-01-23T04:56:07.000+00:00'
          networks:
          - networks
          - networks
          diagnose_error_num: 6
          diagnosing_num: 5
          host_num: 2
          create: '2000-01-23T04:56:07.000+00:00'
          diagnose_num: 1
          progress: 3.616076749251911
          id: 7
          not_diagnose_num: 9
          status: status
    NetworkDiagnosisCreateReq_Diagnosis:
      type: object
      required:
      - host_ids
      - host_scope
      - networks
      properties:
        host_ids:
          type: array
          description: ids of host
          items:
            type: integer
            format: int64
        host_scope:
          type: string
          description: host scope
        networks:
          type: array
          description: network types
          items:
            type: string
      title: NetworkDiagnosisCreateReq_Diagnosis
      example:
        host_scope: host_scope
        host_ids:
        - 0
        - 0
        networks:
        - networks
        - networks
    NetworkDiagnosisResp:
      type: object
      required:
      - network_diagnosis
      properties:
        network_diagnosis:
          description: network diagnosis
          $ref: '#/components/schemas/NetworkDiagnosis'
      title: NetworkDiagnosisResp
      example:
        network_diagnosis:
          diagnose_warning_num: 5
          diagnose_active_num: 0
          update: '2000-01-23T04:56:07.000+00:00'
          networks:
          - networks
          - networks
          diagnose_error_num: 6
          diagnosing_num: 5
          host_num: 2
          create: '2000-01-23T04:56:07.000+00:00'
          diagnose_num: 1
          progress: 3.616076749251911
          id: 7
          not_diagnose_num: 9
          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