XSKY licenses API

LicenseController Operations about Install

Operations 5

GET /licenses/ #
POST /licenses/ #
GET /licenses/key #
GET /licenses/license #
GET /licenses/{license_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-licenses-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-licenses-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 Licenses API
  contact: {}
  license:
    name: Commercial
servers:
- url: /v1
tags:
- name: licenses
  description: 'LicenseController Operations about Install

    '
paths:
  /licenses/:
    get:
      tags:
      - licenses
      description: List licenses
      operationId: ListLicenses
      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
      - name: active
        in: query
        description: filter license by active status
        required: false
        x-exportParamName: Active
        schema:
          type: boolean
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicensesResp'
        500:
          description: InternalServerError
    post:
      tags:
      - licenses
      description: Activate product license
      operationId: RegisterLicense
      parameters:
      - name: force
        in: query
        description: force activate
        required: false
        x-exportParamName: Force
        schema:
          type: boolean
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseResp'
        400:
          description: BadRequest
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                license:
                  type: string
                  description: license info
                  format: binary
              required:
              - license
  /licenses/key:
    get:
      tags:
      - licenses
      description: get license key file
      operationId: DownloadLicenseKey
      responses:
        200:
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        404:
          description: NotFound
        500:
          description: InternalServerError
  /licenses/license:
    get:
      tags:
      - licenses
      description: get current active license
      operationId: GetActiveLicense
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseResp'
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
  /licenses/{license_id}:
    get:
      tags:
      - licenses
      description: get license
      operationId: GetLicense
      parameters:
      - name: license_id
        in: path
        description: the license id
        required: true
        x-exportParamName: LicenseId
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseResp'
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
components:
  schemas:
    ProductInfo:
      type: object
      properties:
        model:
          type: string
        series:
          type: string
      title: ProductInfo
      description: ProductInfo defines product info
      example:
        series: series
        model: model
    License:
      type: object
      properties:
        active:
          type: boolean
        create:
          type: string
          format: date-time
        customer:
          type: string
        expired_time:
          type: string
          format: date-time
        features:
          type: array
          items:
            $ref: '#/components/schemas/ProductFeature'
        id:
          type: integer
          format: int64
        limits:
          $ref: '#/components/schemas/ProductLimits'
        product_info:
          $ref: '#/components/schemas/ProductInfo'
        services:
          type: array
          items:
            $ref: '#/components/schemas/ProductService'
        signed_time:
          type: string
          format: date-time
        status:
          type: string
        used_capacity:
          type: integer
          format: int64
        used_host_num:
          type: integer
          format: int64
        uuid:
          type: string
        version:
          type: string
          description: v2, load from license info
      title: License
      description: License is used to manage backend license @grpc-models-proto
      example:
        signed_time: '2000-01-23T04:56:07.000+00:00'
        used_capacity: 6
        used_host_num: 1
        active: true
        expired_time: '2000-01-23T04:56:07.000+00:00'
        product_info:
          series: series
          model: model
        services:
        - start_time: '2000-01-23T04:56:07.000+00:00'
          name: name
          expired_time: '2000-01-23T04:56:07.000+00:00'
        - start_time: '2000-01-23T04:56:07.000+00:00'
          name: name
          expired_time: '2000-01-23T04:56:07.000+00:00'
        uuid: uuid
        version: version
        features:
        - functions:
          - functions
          - functions
          name: name
          protocols:
          - protocols
          - protocols
          limits:
            key: limits
        - functions:
          - functions
          - functions
          name: name
          protocols:
          - protocols
          - protocols
          limits:
            key: limits
        create: '2000-01-23T04:56:07.000+00:00'
        id: 0
        limits: {}
        customer: customer
        status: status
    LicensesResp:
      type: object
      required:
      - licenses
      properties:
        licenses:
          type: array
          description: licenses
          items:
            $ref: '#/components/schemas/License'
      title: LicensesResp
      example:
        licenses:
        - signed_time: '2000-01-23T04:56:07.000+00:00'
          used_capacity: 6
          used_host_num: 1
          active: true
          expired_time: '2000-01-23T04:56:07.000+00:00'
          product_info:
            series: series
            model: model
          services:
          - start_time: '2000-01-23T04:56:07.000+00:00'
            name: name
            expired_time: '2000-01-23T04:56:07.000+00:00'
          - start_time: '2000-01-23T04:56:07.000+00:00'
            name: name
            expired_time: '2000-01-23T04:56:07.000+00:00'
          uuid: uuid
          version: version
          features:
          - functions:
            - functions
            - functions
            name: name
            protocols:
            - protocols
            - protocols
            limits:
              key: limits
          - functions:
            - functions
            - functions
            name: name
            protocols:
            - protocols
            - protocols
            limits:
              key: limits
          create: '2000-01-23T04:56:07.000+00:00'
          id: 0
          limits: {}
          customer: customer
          status: status
        - signed_time: '2000-01-23T04:56:07.000+00:00'
          used_capacity: 6
          used_host_num: 1
          active: true
          expired_time: '2000-01-23T04:56:07.000+00:00'
          product_info:
            series: series
            model: model
          services:
          - start_time: '2000-01-23T04:56:07.000+00:00'
            name: name
            expired_time: '2000-01-23T04:56:07.000+00:00'
          - start_time: '2000-01-23T04:56:07.000+00:00'
            name: name
            expired_time: '2000-01-23T04:56:07.000+00:00'
          uuid: uuid
          version: version
          features:
          - functions:
            - functions
            - functions
            name: name
            protocols:
            - protocols
            - protocols
            limits:
              key: limits
          - functions:
            - functions
            - functions
            name: name
            protocols:
            - protocols
            - protocols
            limits:
              key: limits
          create: '2000-01-23T04:56:07.000+00:00'
          id: 0
          limits: {}
          customer: customer
          status: status
    LicenseResp:
      type: object
      required:
      - license
      properties:
        license:
          description: license
          $ref: '#/components/schemas/License'
      title: LicenseResp
      example:
        license:
          signed_time: '2000-01-23T04:56:07.000+00:00'
          used_capacity: 6
          used_host_num: 1
          active: true
          expired_time: '2000-01-23T04:56:07.000+00:00'
          product_info:
            series: series
            model: model
          services:
          - start_time: '2000-01-23T04:56:07.000+00:00'
            name: name
            expired_time: '2000-01-23T04:56:07.000+00:00'
          - start_time: '2000-01-23T04:56:07.000+00:00'
            name: name
            expired_time: '2000-01-23T04:56:07.000+00:00'
          uuid: uuid
          version: version
          features:
          - functions:
            - functions
            - functions
            name: name
            protocols:
            - protocols
            - protocols
            limits:
              key: limits
          - functions:
            - functions
            - functions
            name: name
            protocols:
            - protocols
            - protocols
            limits:
              key: limits
          create: '2000-01-23T04:56:07.000+00:00'
          id: 0
          limits: {}
          customer: customer
          status: status
    ProductService:
      type: object
      properties:
        expired_time:
          type: string
          format: date-time
        name:
          type: string
        start_time:
          type: string
          format: date-time
      title: ProductService
      description: ProductService defines product service
      example:
        start_time: '2000-01-23T04:56:07.000+00:00'
        name: name
        expired_time: '2000-01-23T04:56:07.000+00:00'
    ProductLimits:
      type: object
      description: ProductLimits defines product limits
      additionalProperties:
        type: string
    ProductFeature:
      type: object
      properties:
        functions:
          type: array
          items:
            type: string
        limits:
          type: object
          description: for viewing only
          additionalProperties:
            type: string
        name:
          type: string
        protocols:
          type: array
          items:
            type: string
      title: ProductFeature
      description: ProductFeature defines product feature
      example:
        functions:
        - functions
        - functions
        name: name
        protocols:
        - protocols
        - protocols
        limits:
          key: limits
  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