> ## 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 signed file link printed in an exported register (public): 302 to a short-lived download URL while the token is valid, 404 otherwise.



## OpenAPI

````yaml /api/rs/openapi.json get /rs/security-register/v1/shared-files
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/security-register/v1/shared-files:
    get:
      tags:
        - security-register
      summary: >-
        Resolve a signed file link printed in an exported register (public): 302
        to a short-lived download URL while the token is valid, 404 otherwise.
      operationId: getSecurityRegisterSharedFileRSV1
      parameters:
        - schema:
            type: string
            minLength: 1
            maxLength: 2048
          in: query
          name: token
          required: true
          description: Signed token minted by the full register export.
      responses:
        '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

````