get:
  operationId: getCampaignReports
  tags:
    - Certification Campaigns
  summary: Get Campaign Reports
  description: >- 
    Fetches all reports for a certification campaign by campaign ID.

    Requires roles of CERT_ADMIN, DASHBOARD, ORG_ADMIN and REPORT_ADMIN
  # security:
  #   - oauth2: [CERT_ADMIN,DASHBOARD,ORG_ADMIN,REPORT_ADMIN]
  parameters:
    - in: path
      name: id
      schema:
        type: string
        example: 2c91808571bcfcf80171c23e4b4221fc
      required: true
      description: The ID of the campaign for which reports are being fetched.
  responses:
    '200':
      description: Array of campaign report objects.
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '../schemas/CampaignReport.yaml'
    '401':
      $ref: '../../v3/responses/401.yaml'
    '403':
      $ref: '../../v3/responses/403.yaml'
    '404':
      $ref: '../../v3/responses/404.yaml'
    '429':
      $ref: '../../v3/responses/429.yaml'
    '500':
      $ref: '../../v3/responses/500.yaml'
