/api/v1/admin_api_audit_logs:
  description: pf::UnifiedApi::Controller::AdminApiAuditLogs
  get:
    description: List all items.
    operationId: api.v1.AdminApiAuditLogs.list
    parameters:
    - allOf:
      - description: Comma delimited list of fields to return with each item.
        explode: false
        name: fields
        required: true
        schema:
          example:
          - action
          - created_at
          - id
          - method
          - object_id
          - request
          - status
          - url
          - user_name
          items:
            enum:
            - action
            - created_at
            - id
            - method
            - object_id
            - request
            - status
            - url
            - user_name
            type: string
          type: array
        style: form
      - in: query
    - allOf:
      - description: 'Comma delimited list of fields and respective order to sort
          items (`default: [ id ASC ]`).'
        explode: false
        name: sort
        schema:
          example:
          - id ASC
          items:
            enum:
            - action ASC
            - action DESC
            - created_at ASC
            - created_at DESC
            - id ASC
            - id DESC
            - method ASC
            - method DESC
            - object_id ASC
            - object_id DESC
            - request ASC
            - request DESC
            - status ASC
            - status DESC
            - url ASC
            - url DESC
            - user_name ASC
            - user_name DESC
            type: string
          type: array
        style: form
      - in: query
    - allOf:
      - $ref: '#/components/parameters/limit'
      - in: query
    - allOf:
      - $ref: '#/components/parameters/cursor'
      - in: query
    responses:
      '200':
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdminApiAuditLogsList'
      '401':
        $ref: '#/components/responses/Forbidden'
      '404':
        $ref: '#/components/responses/BadRequest'
      '409':
        $ref: '#/components/responses/Duplicate'
      '422':
        $ref: '#/components/responses/UnprocessableEntity'
    tags:
    - AdminApiAuditLogs
