/api/v1/fingerbank/{scope}/dhcp_fingerprints:
  get:
    summary: Get DHCP Fingerprints.
    parameters:
    - name: scope
      in: path
      required: true
      schema:
        $ref: '#/components/schemas/FingerbankScope'
    - name: cursor
      in: query
      schema:
        $ref: '#/components/schemas/FingerbankPaginatedCursor'
    - name: limit
      in: query
      schema:
        $ref: '#/components/schemas/FingerbankPaginatedLimit'
    - name: sort
      in: query
      schema:
        $ref: '#/components/schemas/FingerbankDhcpFingerprintsSort'
    responses:
      '200':
        $ref: '#/components/responses/FingerbankDhcpFingerprints'
      '401':
        $ref: '#/components/responses/Unauthorized'
    tags:
      - Fingerbank
  post:
    summary: Create local DHCP Fingerprint.
    parameters:
    - name: scope
      in: path
      required: true
      schema:
        $ref: '#/components/schemas/FingerbankScopeLocalOnly'
    requestBody:
      $ref: '#/components/requestBodies/FingerbankDhcpFingerprint'
    responses:
      '200':
        $ref: '#/components/responses/Created'
      '401':
        $ref: '#/components/responses/Unauthorized'
    tags:
      - Fingerbank

/api/v1/fingerbank/{scope}/dhcp_fingerprints/search:
  parameters:
  - name: scope
    in: path
    required: true
    schema:
      $ref: '#/components/schemas/FingerbankScope'
  post:
    summary: Search local DHCP Fingerprints.
    requestBody:
      $ref: '#/components/requestBodies/FingerbankDhcpFingerprintsSearch'
    responses:
      '200':
        $ref: '#/components/responses/FingerbankDhcpFingerprintsSearch'
      '401':
        $ref: '#/components/responses/Unauthorized'
    tags:
      - Fingerbank

/api/v1/fingerbank/{scope}/dhcp_fingerprint/{dhcp_fingerprint_id}:
  parameters:
  - name: scope
    in: path
    required: true
    schema:
      $ref: '#/components/schemas/FingerbankScopeLocalOnly'
  - name: dhcp_fingerprint_id
    in: path
    required: true
    schema:
      type: string
  get:
    summary: Get local DHCP Fingerprint.
    responses:
      '200':
        $ref: '#/components/responses/FingerbankDhcpFingerprint'
      '401':
        $ref: '#/components/responses/Unauthorized'
      '404':
        $ref: '#/components/responses/NotFound'
    tags:
      - Fingerbank
  patch:
    summary: Update local DHCP Fingerprint.
    requestBody:
      $ref: '#/components/requestBodies/FingerbankDhcpFingerprint'
    responses:
      '200':
        $ref: '#/components/responses/Updated'
      '401':
        $ref: '#/components/responses/Unauthorized'
      '404':
        $ref: '#/components/responses/NotFound'
    tags:
      - Fingerbank
  delete:
    summary: Delete local DHCP Fingerprint.
    responses:
      '200':
        $ref: '#/components/responses/Deleted'
      '401':
        $ref: '#/components/responses/Unauthorized'
      '404':
        $ref: '#/components/responses/NotFound'
    tags:
      - Fingerbank
