get:
  summary: List the content of the directory tree where the binaries are published at the level project/repository.
  description: |
    Get a list of architectures' directories and other files (.repo, .ymp, etc.) present at the level
    project/repository of the directory tree where the published binaries are stored.
  security:
    - basic_authentication: []
  parameters:
    - $ref: '../components/parameters/project_name.yaml'
    - $ref: '../components/parameters/repository_name.yaml'
  responses:
    '200':
      description: OK. The request has succeeded.
      content:
        application/xml; charset=utf-8:
          schema:
            $ref: '../components/schemas/directory.yaml'
          example:
            entry:
              - name: 'OBS:Server:Unstable.repo'
              - name: 'OBS_Server.ymp'
              - name: 'aarch64'
              - name: 'x86_64'
    '401':
      $ref: '../components/responses/unauthorized.yaml'
    '403':
      $ref: '../components/responses/download_binary_forbidden.yaml'
    '404':
      description: Not Found.
      content:
        application/xml; charset=utf-8:
          schema:
            $ref: '../components/schemas/api_response.yaml'
          example:
            code: not_found
            summary: "Couldn't find Project"
  tags:
    - Published Binaries
