A custom style's glyphs for a fontstack (unmetered)
GET
/v1/styles/glyphs/{handle}/{fontstack}/{file}
const url = 'https://api.tareky.com/v1/styles/glyphs/acme/Cairo%20Bold%2CNoto%20Sans%20Regular/0-255.pbf';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.tareky.com/v1/styles/glyphs/acme/Cairo%20Bold%2CNoto%20Sans%20Regular/0-255.pbf \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”handle
required
string
Example
acmefontstack
required
string
Example
Cairo Bold,Noto Sans Regularfile
required
string
Example
0-255.pbfQuery Parameters
Section titled “Query Parameters”v
string
The style’s fonts version: makes the answer immutable for browsers