openapi: 3.0.0
info:
  title: Coursera
  version: 1.0.0
servers:
  - url: localhost://
  - url: http://127.0.0.1:8000
paths:
  /000/register:
    post:
      tags:
        - General
      summary: localhost:5000/register
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                username: nimesha
                password: nimesha123
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /api/run_etl/etl_process_1:
    post:
      tags:
        - General
      summary: http://127.0.0.1:8000/api/run_etl/etl_process_2
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\r\n  \"start_date\": \"2023-11-24\",\r\n  \"end_date\":
                \"2023-12-06\",\r\n  \"environment\": \"dev\",\r\n 
                \"etl_version\": \"version-01\"\r\n}\r\n\r\n"
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: Cookie
          in: header
          schema:
            type: string
          example: >-
            csrftoken=2TypAcVpmmEg6DxeJNqLYbVPjzp29iqP2IAvFyN21kOaTo547pWIpFl5ox53HRrX
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /api/v1/reports/run/:
    post:
      tags:
        - General
      summary: http://127.0.0.1:8000/api/v1/reports/run/
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: '"{\r\n  \"runId\": 1\r\n}"'
      parameters:
        - name: accept
          in: header
          schema:
            type: string
          example: application/json
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /api/v1/run_etl/main_processor:
    post:
      tags:
        - General
      summary: http://127.0.0.1:8000/api/v1/run_etl/main_processor
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\r\n  \"startDate\": \"string\",\r\n  \"endDate\":
                \"string\",\r\n  \"runId\": 2\r\n}"
      parameters:
        - name: accept
          in: header
          schema:
            type: string
          example: application/json
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
