Version
The Version endpoint provides NPM version information for each package.
HTTP Request
GET https://api.fontsource.org/v1/version/{id}
Response
The API response for the Version endpoint is a JSON object that provides NPM version information for each package.
Attributes
Returns an object with:
Attribute | Type | Description |
---|---|---|
latest | string | Latest static NPM version |
static | string[] | Static NPM versions sorted newest to oldest |
latestVariable | Optional<string> | Latest variable NPM version |
variable | Optional<string[]> | Variable NPM versions sorted newest to oldest |
Response example
⬤⬤
json
Example
GET https://api.fontsource.org/v1/version/abel
GET https://api.fontsource.org/v1/version/open-sans