swagger: "2.0"

info:
  version: 1.0.0
  title: API Specifications

schemes:
  - https
host: qa-ows-asset-file-details.theorchard.io
paths:
  /flac-file-details/upc/{upc}/cd/{cd}/track_id/{track_id}:
    get:
      summary: Get flac file details for a upc, cd, and track_id combination.
      parameters:
        - in: path
          name: upc
          required: true
          type: string
        - in: path
          name: cd
          required: true
          type: string
        - in: path
          name: track_id
          required: true
          type: string
      responses:
        200:
          description: 200 OK
          examples:
            application/json: {
              "audio_channels": 2,
              "frequency": 44100,
              "bits_per_sample": 16,
              "filename": "1234567890_1_1.flac",
              "md5_hash": "098f6bcd4621d373cade4e832627b4f6"
            }
  /hello/:
    get:
      summary: Check the health of the application.
      responses:
        200:
          description: 200 OK
          examples:
            application/json: { "status": "ok" }
