XSKY role-mappings API

RoleMappingController Role Mapping Management

Operations 5

GET /role-mappings/ #
POST /role-mappings/ #
GET /role-mappings/{role_mapping_id} #
DELETE /role-mappings/{role_mapping_id} #
PATCH /role-mappings/{role_mapping_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-role-mappings-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-role-mappings-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 Role Mappings API
  contact: {}
  license:
    name: Commercial
servers:
- url: /v1
tags:
- name: role-mappings
  description: 'RoleMappingController Role Mapping Management

    '
paths:
  /role-mappings/:
    get:
      tags:
      - role-mappings
      description: List role mappings
      operationId: ListRoleMappings
      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: identity_platform_id
        in: query
        description: identity platform id
        required: false
        x-exportParamName: IdentityPlatformId
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoleMappingsResp'
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    post:
      tags:
      - role-mappings
      description: Create role mapping
      operationId: CreateRoleMapping
      responses:
        201:
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoleMappingResp'
        400:
          description: BadRequest
        500:
          description: InternalServerError
      security:
      - tokenInHeader: []
      - tokenInQuery: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoleMappingCreateReq'
        description: role mapping info
        required: true
  /role-mappings/{role_mapping_id}:
    get:
      tags:
      - role-mappings
      description: Get a role mapping
      operationId: GetRoleMapping
      parameters:
      - name: role_mapping_id
        in: path
        description: role mapping id
        required: true
        x-exportParamName: RoleMappingId
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoleMappingResp'
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    delete:
      tags:
      - role-mappings
      description: Delete role mapping
      operationId: DeleteRoleMapping
      parameters:
      - name: role_mapping_id
        in: path
        description: role mapping id
        required: true
        x-exportParamName: RoleMappingId
        schema:
          type: integer
          format: int64
      responses:
        204:
          description: No Content
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    patch:
      tags:
      - role-mappings
      description: Update a role mapping
      operationId: UpdateRoleMapping
      parameters:
      - name: role_mapping_id
        in: path
        description: role mapping id
        required: true
        x-exportParamName: RoleMappingId
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoleMappingResp'
        400:
          description: BadRequest
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoleMappingUpdateReq'
        description: role mapping info
        required: true
components:
  schemas:
    RoleMappingUpdateReq_Mapping:
      type: object
      properties:
        value:
          type: string
          description: roles of identity platform
      title: RoleMappingUpdateReq_Mapping
      example:
        value: value
    IdentityPlatform_Nestview:
      type: object
      properties:
        id:
          type: integer
          format: int64
          description: id of identity platform
        name:
          type: string
          description: name of identity platform
      title: IdentityPlatform_Nestview
      example:
        name: name
        id: 6
    RoleMappingsResp:
      type: object
      properties:
        role_mappings:
          type: array
          description: role mappings
          items:
            $ref: '#/components/schemas/RoleMapping'
      title: RoleMappingsResp
      example:
        role_mappings:
        - role: role
          create: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          id: 0
          value: value
          identity_platform:
            name: name
            id: 6
        - role: role
          create: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          id: 0
          value: value
          identity_platform:
            name: name
            id: 6
    RoleMappingCreateReq:
      type: object
      properties:
        role_mapping:
          $ref: '#/components/schemas/RoleMappingCreateReq_Mapping'
      title: RoleMappingCreateReq
      example:
        role_mapping:
          role: role
          identity_platform_id: 0
          value: value
    RoleMapping:
      type: object
      properties:
        create:
          type: string
          format: date-time
          description: time of creating identity platform
        id:
          type: integer
          format: int64
          description: id of role mapping
        identity_platform:
          description: identity platform of role mapping
          $ref: '#/components/schemas/IdentityPlatform_Nestview'
        role:
          type: string
          description: mapped role of sds platform
        update:
          type: string
          format: date-time
          description: time of updating identity platform
        value:
          type: string
          description: roles of external identity platform
      title: RoleMapping
      description: RoleMapping defines role mappings for auth
      example:
        role: role
        create: '2000-01-23T04:56:07.000+00:00'
        update: '2000-01-23T04:56:07.000+00:00'
        id: 0
        value: value
        identity_platform:
          name: name
          id: 6
    RoleMappingUpdateReq:
      type: object
      properties:
        role_mapping:
          $ref: '#/components/schemas/RoleMappingUpdateReq_Mapping'
      title: RoleMappingUpdateReq
      example:
        role_mapping:
          value: value
    RoleMappingCreateReq_Mapping:
      type: object
      properties:
        identity_platform_id:
          type: integer
          format: int64
          description: id of identity platform
        role:
          type: string
          description: mapped role of sds platform
        value:
          type: string
          description: roles of identity platform
      title: RoleMappingCreateReq_Mapping
      example:
        role: role
        identity_platform_id: 0
        value: value
    RoleMappingResp:
      type: object
      properties:
        role_mapping:
          description: role mapping
          $ref: '#/components/schemas/RoleMapping'
      title: RoleMappingResp
      example:
        role_mapping:
          role: role
          create: '2000-01-23T04:56:07.000+00:00'
          update: '2000-01-23T04:56:07.000+00:00'
          id: 0
          value: value
          identity_platform:
            name: name
            id: 6
  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