POST create-font-variant

Changed on

Upload a font variant. Font data must be provided as an :uploads map (keyed by mime-type, values are upload-session UUIDs from the chunked-upload API).

Request

  • Base URL
    https://design.penpot.app/api/main/methods
  • URL
    https://design.penpot.app/api/main/methods/create-font-variant
  • Auth
    none declared

Request body

teamIdstring uuid required

UUID formatted string

fontIdstring uuid required

UUID formatted string

fontFamilystring required

not whitespace string

fontWeight'950' | '300' | '600' | '500' | '100' | '800' | '200' | '900' | '700' | '400' required
fontStyle'normal' | 'italic' required
uploadsobject required

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • warning

      removed subschema #1: create-font-variant from the request body allOf list