Skip to main content
POST
/
styles
/
font
/
attachment
/
save-staged
Converts the chunk-saved font attachment file (typically a PDF file) into a generic blob-storage file and database record.
curl --request POST \
  --url https://api.example.com/styles/font/attachment/save-staged \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fontTypeID": 123,
  "originalFilename": "Whatever-Font-License-PDF-File-ABC123.pdf",
  "stagedFileCode": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "fileDescription": "This file is a license to use the font, bla bla bla. Thats about it."
}
'
{
  "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:Whatever-Font-License-PDF-File-ABC123.pdf
required
Minimum string length: 1
stagedFileCode
string<uuid>
fileDescription
string | null
default:This file is a license to use the font, bla bla bla. Thats about it.

Response

200 - application/json

Success

success
boolean
data
unknown