Font
font
Search the available Fonts
Query parameters
idintegerOptional
Filter by Font Id
namestringOptional
Filter by Font Name
sortBystring · enumOptionalPossible values:
Specifies which field the results are sorted by. Used together with sortDir
sortDirstring · enumOptionalPossible values:
Sort direction
Responses
200
successful operation
application/json
get/fonts
GET /api/fonts HTTP/1.1
Accept: */*
200
successful operation
[
{
"id": 1,
"createdAt": "text",
"modifiedAt": "text",
"modifiedBy": "text",
"name": "text",
"fileName": "text",
"familyName": "text",
"size": 1,
"md5": "text"
}
]Upload a new Font file
Body
filesstring · binaryRequired
The Uploaded File
namestringOptional
Optional Font Name
Responses
200
successful operation
No content
post/fonts
POST /api/fonts HTTP/1.1
Content-Type: multipart/form-data
Accept: */*
Content-Length: 32
{
"files": "binary",
"name": "text"
}200
successful operation
No content
Get the Font object specified by the provided fontId
Path parameters
fontIdintegerRequired
Numeric ID of the Font to get
Responses
200
successful operation
application/json
Class Font
idintegerOptional
The Font ID
createdAtstringOptional
The Font created date
modifiedAtstringOptional
The Font modified date
modifiedBystringOptional
The name of the user that modified this font last
namestringOptional
The Font name
fileNamestringOptional
The Font file name
familyNamestringOptional
The Font family name
sizeintegerOptional
The Font file size in bytes
md5stringOptional
A MD5 checksum of the stored font file
get/fonts/{fontId}
GET /api/fonts/{fontId} HTTP/1.1
Accept: */*
200
successful operation
{
"id": 1,
"createdAt": "text",
"modifiedAt": "text",
"modifiedBy": "text",
"name": "text",
"fileName": "text",
"familyName": "text",
"size": 1,
"md5": "text"
}Last updated
Was this helpful?

