github.com/optim-corp/cios-golang-sdk@v0.5.1/openapi/openapis/videostreaming.openapi.yml (about)

     1  openapi: "3.0.3"
     2  info:
     3    version: 1.0.0
     4    title: Cios Video Streaming Openapi
     5  
     6  paths:
     7    "/v2/video_streams":
     8      get:
     9        tags:
    10          - videostreaming-operations
    11        operationId: getVideoStreamsList
    12        parameters:
    13          - $ref: '../components/parameters.yml#/components/parameters/resource_owner_id_query_required'
    14          - $ref: '../components/parameters.yml#/components/parameters/device_id_query'
    15          - $ref: '../components/parameters.yml#/components/parameters/is_enable'
    16        responses:
    17          "200":
    18            description: 成功
    19            content:
    20              application/json:
    21                schema:
    22                  $ref: '../components/videostreaming-component.openapi.yml#/components/schemas/MultipleVideo'
    23        security:
    24          - bearerAuth: []
    25    "/v2/video_streams/{video_id}":
    26      get:
    27        tags:
    28          - videostreaming-operations
    29        operationId: getVideoStreams
    30        parameters:
    31          - $ref: '../components/parameters.yml#/components/parameters/video_id'
    32        responses:
    33          "200":
    34            description: 成功
    35            content:
    36              application/json:
    37                schema:
    38                  $ref: '../components/videostreaming-component.openapi.yml#/components/schemas/SingleVideo'
    39        security:
    40          - bearerAuth: []
    41      patch:
    42        tags:
    43          - videostreaming-operations
    44        operationId: updateStreams
    45        parameters:
    46          - $ref: '../components/parameters.yml#/components/parameters/video_id'
    47        requestBody:
    48          required: true
    49          content:
    50            application/json:
    51              schema:
    52                $ref: '../components/videostreaming-component.openapi.yml#/components/schemas/VideoUpdateRequest'
    53        responses:
    54          "200":
    55            description: 成功
    56            content:
    57              application/json:
    58                schema:
    59                  $ref: '../components/videostreaming-component.openapi.yml#/components/schemas/SingleVideo'
    60        security:
    61          - bearerAuth: []
    62    "/v2/video_streams/{video_id}/thumbnail":
    63      get:
    64        tags:
    65          - videostreaming-operations
    66        operationId: getVideoStreamsThumbnail
    67        parameters:
    68          - $ref: '../components/parameters.yml#/components/parameters/video_id'
    69        responses:
    70          "200":
    71            description: 成功
    72            content:
    73              image/png:
    74                schema:
    75                  type: string
    76                  format: binary
    77        security:
    78          - bearerAuth: []
    79    "/v2/video_streams/{video_id}/play":
    80      post:
    81        tags:
    82          - videostreaming-operations
    83        operationId: createVideoStreamsPlay
    84        parameters:
    85          - $ref: '../components/parameters.yml#/components/parameters/video_id'
    86        responses:
    87          "200":
    88            description: 成功
    89            content:
    90              application/json:
    91                schema:
    92                  $ref: '../components/videostreaming-component.openapi.yml#/components/schemas/SingleRoom'
    93        security:
    94          - bearerAuth: []
    95    "/v2/video_streams/{video_id}/stop":
    96      post:
    97        tags:
    98          - videostreaming-operations
    99        operationId: createVideoStreamsStop
   100        parameters:
   101          - $ref: '../components/parameters.yml#/components/parameters/video_id'
   102        responses:
   103          "200":
   104            description: 成功
   105        security:
   106          - bearerAuth: []
   107  
   108  components:
   109    securitySchemes:
   110      bearerAuth:
   111        type: http
   112        scheme: bearer
   113        bearerFormat: JWT