POST v1/application/{environment}/{orgId}/{appId}/fonts

Use this method to associate a system font with your application.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
environment

Environment where the org originated from.

string

Required

orgId

Organization Id

integer

Required

appId

Application Id

integer

Required

Body Parameters

The font to be added/associated to your application.

SystemFont
NameDescriptionTypeAdditional information
id

System font unique identifier.

string

None.

family

string

None.

name

Font Name (Face Name), note that this is the actual font face name, and is used in code to reference the font.

string

None.

sizeList

A comma delimited list of supported font sizes. (These are size in points not pixels)

string

None.

platform

Platform or Device Kind for which this font was created.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "family": "sample string 2",
  "name": "sample string 3",
  "sizeList": "sample string 4",
  "platform": "sample string 5"
}

Response Information

Resource Description

Returns the application font created.

ApplicationFont
NameDescriptionTypeAdditional information
id

Application font unique identifier.

string

None.

font

Font associated to this application font.

SystemFont

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "font": {
    "id": "sample string 1",
    "family": "sample string 2",
    "name": "sample string 3",
    "sizeList": "sample string 4",
    "platform": "sample string 5"
  }
}