XSKY os-zone-locks API

OSZoneLockController API /os-zone-locks

Operations 5

GET /os-zone-locks/ #
POST /os-zone-locks/ #
GET /os-zone-locks/{lock_uuid} #
DELETE /os-zone-locks/{lock_uuid} #
POST /os-zone-locks/{lock_uuid}:refresh #

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-os-zone-locks-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-os-zone-locks-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 Os Zone Locks API
  contact: {}
  license:
    name: Commercial
servers:
- url: /v1
tags:
- name: os-zone-locks
  description: 'OSZoneLockController API /os-zone-locks

    '
paths:
  /os-zone-locks/:
    get:
      tags:
      - os-zone-locks
      description: List os zone locks.
      operationId: ListOSZoneLocks
      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: all
        in: query
        description: show all zone locks
        required: false
        x-exportParamName: All
        schema:
          type: boolean
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OSZoneLocksResp'
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    post:
      tags:
      - os-zone-locks
      description: Create a os zone lock.
      operationId: CreateOSZoneLock
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OSZoneLockResp'
        400:
          description: BadRequest
        409:
          description: Conflict
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OSZoneLockCreateReq'
        description: os zone lock info
        required: true
  /os-zone-locks/{lock_uuid}:
    get:
      tags:
      - os-zone-locks
      description: Get a os zone lock.
      operationId: GetOSZoneLock
      parameters:
      - name: lock_uuid
        in: path
        description: os zone lock uuid
        required: true
        x-exportParamName: LockUuid
        schema:
          type: string
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OSZoneLockResp'
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    delete:
      tags:
      - os-zone-locks
      description: Delete a os zone lock.
      operationId: DeleteOSZoneLock
      parameters:
      - name: lock_uuid
        in: path
        description: os zone lock uuid
        required: true
        x-exportParamName: LockUuid
        schema:
          type: string
      responses:
        204:
          description: No Content
        400:
          description: BadRequest
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
  /os-zone-locks/{lock_uuid}:refresh:
    post:
      tags:
      - os-zone-locks
      description: Refresh a os zone lock.
      operationId: RefreshOSZoneLock
      parameters:
      - name: lock_uuid
        in: path
        description: os zone lock uuid
        required: true
        x-exportParamName: LockUuid
        schema:
          type: string
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OSZoneLockResp'
        400:
          description: BadRequest
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
components:
  schemas:
    OSZoneLock:
      type: object
      properties:
        create:
          type: string
          format: date-time
        expired_time:
          type: string
          format: date-time
        key:
          type: string
        resource_type:
          type: string
        update:
          type: string
          format: date-time
        uuid:
          type: string
        value:
          type: string
      title: OSZoneLock
      description: OSZoneLock defines model of os zone lock.
      example:
        resource_type: resource_type
        create: '2000-01-23T04:56:07.000+00:00'
        expired_time: '2000-01-23T04:56:07.000+00:00'
        update: '2000-01-23T04:56:07.000+00:00'
        uuid: uuid
        value: value
        key: key
    OSZoneLockCreateReq:
      type: object
      properties:
        os_zone_lock:
          $ref: '#/components/schemas/OSZoneLockCreateReq_Lock'
      title: OSZoneLockCreateReq
    OSZoneLocksResp:
      type: object
      required:
      - os_zone_locks
      properties:
        os_zone_locks:
          type: array
          items:
            $ref: '#/components/schemas/OSZoneLock'
      title: OSZoneLocksResp
      example:
        os_zone_locks:
        - resource_type: resource_type
          create: '2000-01-23T04:56:07.000+00:00'
          expired_time: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          uuid: uuid
          value: value
          key: key
        - resource_type: resource_type
          create: '2000-01-23T04:56:07.000+00:00'
          expired_time: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          uuid: uuid
          value: value
          key: key
    OSZoneLockCreateReq_Lock:
      type: object
      required:
      - key
      - resource_type
      - value
      properties:
        key:
          type: string
          description: key of lock, for example name of os bucket
        resource_type:
          type: string
          description: resource type of lock, including os_bucket
        value:
          type: string
          description: value of lock, for example action of os bucket
      title: OSZoneLockCreateReq_Lock
    OSZoneLockResp:
      type: object
      required:
      - os_zone_lock
      properties:
        os_zone_lock:
          $ref: '#/components/schemas/OSZoneLock'
      title: OSZoneLockResp
      example:
        os_zone_lock:
          resource_type: resource_type
          create: '2000-01-23T04:56:07.000+00:00'
          expired_time: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          uuid: uuid
          value: value
          key: key
  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