> ## Documentation Index
> Fetch the complete documentation index at: https://api-documentation.kare-app.fr/llms.txt
> Use this file to discover all available pages before exploring further.

# Resolve a scanned QR code sticker (public)



## OpenAPI

````yaml /api/rs/openapi.json get /rs/qrcodes/v1/scan/{slug}
openapi: 3.0.3
info:
  title: KARE API
  description: Backend API for the KARE platform
  version: dev
servers:
  - url: http://localhost:3000
    description: Local dev
security: []
tags:
  - name: better-auth
    description: >-
      Better Auth's own endpoints (sign-in, session, MFA, password) - generated
      from the audience's live config via `generateOpenAPISchema()`, not
      hand-written.
paths:
  /rs/qrcodes/v1/scan/{slug}:
    get:
      tags:
        - qrcodes
      summary: Resolve a scanned QR code sticker (public)
      operationId: scanQrCodeRSV1
      parameters:
        - schema:
            type: string
            pattern: ^[A-Za-z0-9_-]{6,64}$
          in: path
          name: slug
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  slug:
                    type: string
                    pattern: ^[A-Za-z0-9_-]{6,64}$
                  number:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 2147483647
                  state:
                    type: string
                    enum:
                      - unavailable
                      - unattributed
                      - unlinked
                      - linked
                  organizationId:
                    nullable: true
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  endpointType:
                    type: string
                    enum:
                      - none
                      - unit
                      - equipment
                      - building
                      - plan
                      - plan_item
                  linkedElement:
                    nullable: true
                    type: object
                    properties:
                      type:
                        type: string
                        enum:
                          - none
                          - unit
                          - equipment
                          - building
                          - plan
                          - plan_item
                      id:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                      name:
                        type: string
                      deletedAt:
                        nullable: true
                        type: string
                        format: date-time
                    required:
                      - type
                      - id
                      - name
                      - deletedAt
                    additionalProperties: false
                required:
                  - id
                  - slug
                  - number
                  - state
                  - organizationId
                  - endpointType
                  - linkedElement
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                  requestId:
                    type: string
                  details: {}
                required:
                  - error
                  - message
                  - requestId
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                  requestId:
                    type: string
                  details: {}
                required:
                  - error
                  - message
                  - requestId
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                  requestId:
                    type: string
                  details: {}
                required:
                  - error
                  - message
                  - requestId
                additionalProperties: false

````