XSKY fs-smb-share-acls API

FSSMBShareACLController provides API for fs smb share acl

OpenAPI Specification

xsky-fs-smb-share-acls-api-openapi.yml Raw ↑
swagger: '2.0'
info:
  description: XMS is the controller of distributed storage system
  version: SDS_4.2.000.0.200302
  title: XMS access-paths fs-smb-share-acls API
  contact: {}
  license:
    name: Commercial
basePath: /v1
tags:
- name: fs-smb-share-acls
  description: 'FSSMBShareACLController provides API for fs smb share acl

    '
paths:
  /fs-smb-share-acls/:
    get:
      tags:
      - fs-smb-share-acls
      description: List fs smb share acls
      operationId: ListFSSMBShareACLs
      consumes:
      - application/json
      produces:
      - application/json
      parameters:
      - name: limit
        in: query
        description: paging param
        required: false
        type: integer
        format: int64
        x-exportParamName: Limit
      - name: offset
        in: query
        description: paging param
        required: false
        type: integer
        format: int64
        x-exportParamName: Offset
      - name: fs_smb_share_id
        in: query
        description: fs smb share id
        required: false
        type: integer
        format: int64
        x-exportParamName: FsSmbShareId
      - name: q
        in: query
        description: query param of search
        required: false
        type: string
        x-exportParamName: Q
      - name: sort
        in: query
        description: sort param of search
        required: false
        type: string
        x-exportParamName: Sort
      responses:
        200:
          description: OK
          schema:
            $ref: '#/definitions/FSSMBShareACLsResp'
        400:
          description: BadRequest
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
definitions:
  FSSMBShare_Nestview:
    type: object
    properties:
      id:
        type: integer
        format: int64
      name:
        type: string
    title: FSSMBShare_Nestview
    example:
      name: name
      id: 6
  FSUserGroup_Nestview:
    type: object
    properties:
      id:
        type: integer
        format: int64
      name:
        type: string
    title: FSUserGroup_Nestview
    example:
      name: name
      id: 1
  FSSMBShareACL:
    type: object
    properties:
      create:
        type: string
        format: date-time
      fs_smb_share:
        $ref: '#/definitions/FSSMBShare_Nestview'
      fs_user:
        $ref: '#/definitions/FSUser_Nestview'
      fs_user_group:
        $ref: '#/definitions/FSUserGroup_Nestview'
      fs_user_group_name:
        type: string
      fs_user_name:
        type: string
      id:
        type: integer
        format: int64
      permission:
        type: string
      type:
        type: string
      update:
        type: string
        format: date-time
    title: FSSMBShareACL
    description: FSSMBShareACL defines model of fs smb share ACL
    example:
      fs_smb_share:
        name: name
        id: 6
      fs_user_name: fs_user_name
      fs_user_group:
        name: name
        id: 1
      fs_user:
        name: name
        id: 6
      create: '2000-01-23T04:56:07.000+00:00'
      update: '2000-01-23T04:56:07.000+00:00'
      permission: permission
      id: 0
      type: type
      fs_user_group_name: fs_user_group_name
  FSSMBShareACLsResp:
    type: object
    required:
    - fs_smb_share_acls
    properties:
      fs_smb_share_acls:
        type: array
        description: file storage folder share acls
        items:
          $ref: '#/definitions/FSSMBShareACL'
    title: FSSMBShareACLsResp
    example:
      fs_smb_share_acls:
      - fs_smb_share:
          name: name
          id: 6
        fs_user_name: fs_user_name
        fs_user_group:
          name: name
          id: 1
        fs_user:
          name: name
          id: 6
        create: '2000-01-23T04:56:07.000+00:00'
        update: '2000-01-23T04:56:07.000+00:00'
        permission: permission
        id: 0
        type: type
        fs_user_group_name: fs_user_group_name
      - fs_smb_share:
          name: name
          id: 6
        fs_user_name: fs_user_name
        fs_user_group:
          name: name
          id: 1
        fs_user:
          name: name
          id: 6
        create: '2000-01-23T04:56:07.000+00:00'
        update: '2000-01-23T04:56:07.000+00:00'
        permission: permission
        id: 0
        type: type
        fs_user_group_name: fs_user_group_name
  FSUser_Nestview:
    type: object
    properties:
      id:
        type: integer
        format: int64
      name:
        type: string
    title: FSUser_Nestview
    example:
      name: name
      id: 6
securityDefinitions:
  tokenInHeader:
    description: auth by token
    type: apiKey
    name: Xms-Auth-Token
    in: header
  tokenInQuery:
    description: auth by token
    type: apiKey
    name: token
    in: query