Amagi List Versions API

The List Versions API from Amagi — 1 operation(s) for list versions.

OpenAPI Specification

amagi-list-versions-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  description: 'The purpose of this application is to provide documentation of the APIs in services-amagi-tv


    # Authentication


    <!-- ReDoc-Inject: <security-definitions> -->'
  title: services-amagi-tv Add User List Versions API
  contact:
    email: suvrojyoti@amagi.com
  version: null
servers:
- url: https://r5i37dwfp8.execute-api.us-east-1.amazonaws.com/dev/
  description: Development Server
- url: https://services.amagi.tv
  description: Production Server
tags:
- name: List Versions
paths:
  /list-versions:
    get:
      security:
      - access-key: []
        secret-key: []
      summary: List versions of the key
      operationId: listVersions
      parameters:
      - name: key
        in: query
        schema:
          type: string
        required: true
        description: Key of the Object
      responses:
        '200':
          description: Display versions of the key
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: string
                    description: List of all versions of the key
                  error:
                    type: string
                    description: User Error
                example:
                  data:
                  - Key: CUSTOMER-NAME/FEED1/config1.json
                    LastModified: Sun, 25 Jul 2021 15:08:46 GMT
                    VersionId: vCxTQzYDb91KJgv2mOvUTb_iipYQex8r
                  - Key: CUSTOMER-NAME/FEED2/config2.json
                    LastModified: Wed, 21 Jul 2021 09:33:27 GMT
                    VersionId: qPxgNRrsoz4Y_3XP5iriPBllugCelOvO
                  error: null
        '401':
          $ref: '#/components/responses/ServiceError'
        '500':
          description: Internal Server Error
      tags:
      - List Versions
components:
  schemas:
    errorMessage:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          required:
          - error
          properties:
            error:
              type: string
              description: Error description
  responses:
    ServiceError:
      description: Service error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/errorMessage'
  securitySchemes:
    access-key:
      type: apiKey
      in: header
      name: access_key
    secret-key:
      type: apiKey
      in: header
      name: secret_key