# Get All Locker Access Codes

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /locker/{locker_name}:
    get:
      summary: Get All Locker Access Codes
      deprecated: false
      description: Get All Access Codes Of A Locker
      tags:
        - Harbor App Engine
      parameters:
        - name: locker_name
          in: path
          description: ''
          required: true
          example: ''
          schema:
            type: string
        - name: location_id
          in: query
          description: ''
          required: true
          example: 0
          schema:
            type: integer
        - name: x-api-key
          in: header
          description: ''
          required: true
          example: '{{api_key}}'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  accessCodes:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        accessCode:
                          type: string
                        state:
                          type: string
                        expiry:
                          type: string
                          nullable: true
                        createdOn:
                          type: string
                        01KC14EK4MEPSSMX5NQPAA5V4J:
                          type: string
                      required:
                        - id
                        - accessCode
                        - state
                        - expiry
                        - createdOn
                      x-apidog-orders:
                        - id
                        - accessCode
                        - state
                        - expiry
                        - createdOn
                        - 01KC14EK4MEPSSMX5NQPAA5V4J
                required:
                  - accessCodes
                x-apidog-orders:
                  - accessCodes
          headers: {}
          x-apidog-name: OK
      security: []
      x-apidog-folder: Harbor App Engine
      x-apidog-status: testing
      x-run-in-apidog: https://app.apidog.com/web/project/1131887/apis/api-24487760-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
