> ## Documentation Index
> Fetch the complete documentation index at: https://opendonationassistant.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload font

> Uploads a TTF font file and stores it in the user's font collection



## OpenAPI

````yaml /api-reference/oda-font-service-1.0.0.yml put /fonts/commands/upload
openapi: 3.0.1
info:
  title: oda-font-service
  version: 1.0.0
servers: []
security: []
tags:
  - name: Fonts
    description: Font management commands
paths:
  /fonts/commands/upload:
    put:
      tags:
        - Fonts
      summary: Upload font
      description: Uploads a TTF font file and stores it in the user's font collection
      operationId: upload
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
            encoding:
              file:
                contentType: application/octet-stream
                explode: false
        required: true
      responses:
        '200':
          description: Font uploaded successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FontApi.FontDto'
        '401':
          description: Unauthorized - user not authenticated
      security:
        - BearerAuth: []
components:
  schemas:
    FontApi.FontDto:
      type: object
      properties:
        name:
          type: string
          description: Font name identifier
          example: Roboto
        displayName:
          type: string
          description: Display name of the font
          example: Roboto Regular
        type:
          type: string
          description: Font type
          example: sans-serif
        sources:
          type: object
          additionalProperties:
            type: string
          description: Map of source identifiers to URLs
          example:
            regular: https://fonts.gstatic.com/roboto/regular.woff2
      description: Font information

````