Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

XSKY os-policies API

ObjectStoragePolicyController provides API for object storage policy

XSKY os-policies API is one of 124 APIs that XSKY publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include os-policies. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 5 operations across 2 paths, and defines 9 schemas. It is described by OpenAPI 2.0, at version SDS_4.2.000.0.200302.

Requests are made against the base URL https://{xms-controller}/v1.

5 operations 2 paths 9 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 2.0
API Version
SDS_4.2.000.0.200302
Base URL
https://{xms-controller}/v1
Authentication
API Key, API Key
License
Commercial
Resource Areas
1

Authentication & Security 2

XSKY os-policies API declares 2 security schemes for authenticating requests. An API key is passed in the header as Xms-Auth-Token (tokenInHeader). An API key is passed in the query as token (tokenInQuery).

  • tokenInHeader — auth by token
  • tokenInQuery — auth by token

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

os-policies 5

ObjectStoragePolicyController provides API for object storage policy

GET
/os-policies/
List object storage policies
ListPolicies 4 params → 200500
POST
/os-policies/
Create object storage policy
CreatePolicy 1 param → 202400500
GET
/os-policies/{policy_id}
Get object storage policy
GetPolicy 1 param → 200404
DELETE
/os-policies/{policy_id}
Delete object storage policy
DeletePolicy 1 param → 202404409500
PATCH
/os-policies/{policy_id}
Update object storage policy
UpdatePolicy 2 params → 200202400409500

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are ObjectStoragePolicy (15 properties), ObjectStoragePolicyCreateReq_Policy (8 properties), ObjectStoragePolicyUpdateReq_Policy (6 properties), ObjectStoragePolicyCreateReq_Policy_StorageClasses_Elt (5 properties). Each schema is shown below with its type and property counts.

ObjectStoragePolicyResp
object
1 property 1 required
ObjectStoragePolicyCreateReq_Policy_StorageClasses_Elt
object
5 properties 3 required
ObjectStoragePolicyCreateReq_Policy
object
8 properties 3 required
ObjectStoragePolicyUpdateReq_Policy
object
6 properties
ObjectStoragePoliciesResp
object
1 property 1 required
ObjectStoragePolicy
object
ObjectStoragePolicy is the model of objectstoragepolicy
15 properties
Pool_Nestview
object
2 properties
ObjectStoragePolicyUpdateReq
object
1 property
ObjectStoragePolicyCreateReq
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

xsky-os-policies-api-openapi.yml Raw ↑

Other APIs XSKY publishes across the network.

XSKY access-paths API
XSKY access-tokens API
XSKY action-logs API
XSKY alert-groups API
XSKY alert-rules API
XSKY alerts API
XSKY auth API
XSKY block-snapshots API
XSKY block-volume-group-snapshots API
XSKY block-volume-groups API
XSKY block-volume-migration-jobs API
XSKY block-volumes API