Skip to main content
POST
/
styles
/
fonts
/
files
/
save-staged-font-file-static
Converts the chunk-saved font file (otf, ttf, woff, woff2, etc) into a (static) blob-storage file and database record.
curl --request POST \
  --url https://api.example.com/styles/fonts/files/save-staged-font-file-static \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fontTypeID": 123,
  "originalFilename": "WhateverFont.ttf",
  "stagedFileCode": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
fontTypeID
integer<int32>
default:123
required
originalFilename
string
default:WhateverFont.ttf
required
Minimum string length: 1
stagedFileCode
string<uuid>

Response

200 - application/json

Success

success
boolean
data
unknown