All URIs are relative to http://localhost, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| fontsAddPublicFont() | POST /api/v1/fonts/add | Allows user to add a font from a list of public fonts to their subscription |
| fontsCountFontsAsync() | GET /api/v1/fonts/count | Returns a number of fonts in a subscription |
| fontsCountOccupiedSpace() | GET /api/v1/fonts/counttotalsizebysubscription | returns storage space occupied by fonts in the subscription |
| fontsCountPublicFontsAsync() | GET /api/v1/fonts/public/count | Returns a number of pulbic fonts |
| fontsDeleteFont() | DELETE /api/v1/fonts/{id} | deletes a font from the subscirption by id |
| fontsDownloadFont() | GET /api/v1/fonts/{id}/download | Downloads font by it's id |
| fontsDownloadPublicFont() | GET /api/v1/fonts/public/{id}/download | Downloads a public font by it's id |
| fontsGetFontFamilies() | GET /api/v1/fonts/families | Returns distinct font names from public and private font lists (excluding disabled fonts) |
| fontsGetFonts() | GET /api/v1/fonts/list | returns a list of fonts in the subscription |
| fontsGetFontsByReport() | GET /api/v1/fonts/ListByReport/{reportId} | Returns a list of fonts in the subscription by report id. |
| fontsGetFontsByTemplate() | GET /api/v1/fonts/ListByTemplate/{templateId} | Returns a list of fonts in the subscription by report id. |
| fontsGetFontsCss() | GET /api/v1/fonts/css | Creates a css stylesheet for a public font |
| fontsGetFontsCssByReport() | GET /api/v1/fonts/CssByReport/{reportId} | Creates a css stylesheet for a public fonts by report. |
| fontsGetFontsCssByTemplate() | GET /api/v1/fonts/CssByTemplate/{templateId} | Creates a css stylesheet for a public font by template. |
| fontsGetMyPermissions() | GET /api/v1/fonts/{id}/mypermissions | Get current user's permissions to a font |
| fontsGetPermissions() | GET /api/v1/fonts/{id}/permissions | Get font's permissions |
| fontsGetPublicFonts() | GET /api/v1/fonts/public/list | Returns a list of public fonts |
| fontsGetPublicFontsCss() | GET /api/v1/fonts/public/css | Creates a css stylesheet for a public font |
| fontsUpdateFont() | PUT /api/v1/fonts/{id} | updates a user font model |
| fontsUpdatePermissions() | PUT /api/v1/fonts/{id}/permissions | Update permissions |
| fontsUploadFont() | POST /api/v1/fonts/upload | Allows user to upload a new truetype font to their subscription |
fontsAddPublicFont($add_public_font_vm): \OpenAPI\Client\cloud\fastreport\model\UserFontVMAllows user to add a font from a list of public fonts to their subscription
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$add_public_font_vm = new \OpenAPI\Client\cloud\fastreport\model\AddPublicFontVM(); // \OpenAPI\Client\cloud\fastreport\model\AddPublicFontVM | a body with font id and workspace id
try {
$result = $apiInstance->fontsAddPublicFont($add_public_font_vm);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsAddPublicFont: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| add_public_font_vm | \OpenAPI\Client\cloud\fastreport\model\AddPublicFontVM | a body with font id and workspace id | [optional] |
\OpenAPI\Client\cloud\fastreport\model\UserFontVM
- Content-Type:
application/json,text/json,application/*+json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsCountFontsAsync($subscription_id): \OpenAPI\Client\cloud\fastreport\model\CountVMReturns a number of fonts in a subscription
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$subscription_id = 'subscription_id_example'; // string | subscripiton id
try {
$result = $apiInstance->fontsCountFontsAsync($subscription_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsCountFontsAsync: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| subscription_id | string | subscripiton id | [optional] |
\OpenAPI\Client\cloud\fastreport\model\CountVM
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsCountOccupiedSpace($subscription_id): \OpenAPI\Client\cloud\fastreport\model\FontSizeVMreturns storage space occupied by fonts in the subscription
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$subscription_id = 'subscription_id_example'; // string | subscription id
try {
$result = $apiInstance->fontsCountOccupiedSpace($subscription_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsCountOccupiedSpace: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| subscription_id | string | subscription id | [optional] |
\OpenAPI\Client\cloud\fastreport\model\FontSizeVM
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsCountPublicFontsAsync(): \OpenAPI\Client\cloud\fastreport\model\CountVMReturns a number of pulbic fonts
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->fontsCountPublicFontsAsync();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsCountPublicFontsAsync: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
\OpenAPI\Client\cloud\fastreport\model\CountVM
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsDeleteFont($id)deletes a font from the subscirption by id
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string | font id
try {
$apiInstance->fontsDeleteFont($id);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsDeleteFont: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | font id |
void (empty response body)
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsDownloadFont($id): \SplFileObjectDownloads font by it's id
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string | id of the font
try {
$result = $apiInstance->fontsDownloadFont($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsDownloadFont: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | id of the font |
\SplFileObject
- Content-Type: Not defined
- Accept:
application/json,application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsDownloadPublicFont($id): \SplFileObjectDownloads a public font by it's id
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string | id of the font
try {
$result = $apiInstance->fontsDownloadPublicFont($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsDownloadPublicFont: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | id of the font |
\SplFileObject
- Content-Type: Not defined
- Accept:
application/json,application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsGetFontFamilies($subscription_id, $skip, $take): \OpenAPI\Client\cloud\fastreport\model\FontNamesVMReturns distinct font names from public and private font lists (excluding disabled fonts)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$subscription_id = 'subscription_id_example'; // string | id of a subscription, to pull the font names from. If null or the subscription has no fonts, only the public fonts will be returned
$skip = 0; // int | how many names to skip
$take = 10; // int | how many namrs to take
try {
$result = $apiInstance->fontsGetFontFamilies($subscription_id, $skip, $take);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsGetFontFamilies: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| subscription_id | string | id of a subscription, to pull the font names from. If null or the subscription has no fonts, only the public fonts will be returned | [optional] |
| skip | int | how many names to skip | [optional] [default to 0] |
| take | int | how many namrs to take | [optional] [default to 10] |
\OpenAPI\Client\cloud\fastreport\model\FontNamesVM
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsGetFonts($subscription_id, $skip, $take): \OpenAPI\Client\cloud\fastreport\model\UserFontsVMreturns a list of fonts in the subscription
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$subscription_id = 'subscription_id_example'; // string | id of a subscription, to pull the fonts from. If null, only the public fonts will be returned
$skip = 0; // int | how many fonts to skip
$take = 10; // int | how many fonts to take
try {
$result = $apiInstance->fontsGetFonts($subscription_id, $skip, $take);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsGetFonts: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| subscription_id | string | id of a subscription, to pull the fonts from. If null, only the public fonts will be returned | [optional] |
| skip | int | how many fonts to skip | [optional] [default to 0] |
| take | int | how many fonts to take | [optional] [default to 10] |
\OpenAPI\Client\cloud\fastreport\model\UserFontsVM
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsGetFontsByReport($report_id, $skip, $take): \OpenAPI\Client\cloud\fastreport\model\UserFontsVMReturns a list of fonts in the subscription by report id.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$report_id = 'report_id_example'; // string | id of a report
$skip = 0; // int | how many fonts to skip
$take = 10; // int | how many fonts to take
try {
$result = $apiInstance->fontsGetFontsByReport($report_id, $skip, $take);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsGetFontsByReport: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| report_id | string | id of a report | |
| skip | int | how many fonts to skip | [optional] [default to 0] |
| take | int | how many fonts to take | [optional] [default to 10] |
\OpenAPI\Client\cloud\fastreport\model\UserFontsVM
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsGetFontsByTemplate($template_id, $skip, $take): \OpenAPI\Client\cloud\fastreport\model\UserFontsVMReturns a list of fonts in the subscription by report id.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$template_id = 'template_id_example'; // string | id of a report
$skip = 0; // int | how many fonts to skip
$take = 10; // int | how many fonts to take
try {
$result = $apiInstance->fontsGetFontsByTemplate($template_id, $skip, $take);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsGetFontsByTemplate: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| template_id | string | id of a report | |
| skip | int | how many fonts to skip | [optional] [default to 0] |
| take | int | how many fonts to take | [optional] [default to 10] |
\OpenAPI\Client\cloud\fastreport\model\UserFontsVM
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsGetFontsCss($subscription_id): stringCreates a css stylesheet for a public font
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$subscription_id = 'subscription_id_example'; // string
try {
$result = $apiInstance->fontsGetFontsCss($subscription_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsGetFontsCss: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| subscription_id | string | [optional] |
string
- Content-Type: Not defined
- Accept:
application/json,text/css
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsGetFontsCssByReport($report_id): stringCreates a css stylesheet for a public fonts by report.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$report_id = 'report_id_example'; // string | id of a report
try {
$result = $apiInstance->fontsGetFontsCssByReport($report_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsGetFontsCssByReport: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| report_id | string | id of a report |
string
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsGetFontsCssByTemplate($template_id): stringCreates a css stylesheet for a public font by template.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$template_id = 'template_id_example'; // string | id of a report
try {
$result = $apiInstance->fontsGetFontsCssByTemplate($template_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsGetFontsCssByTemplate: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| template_id | string | id of a report |
string
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsGetMyPermissions($id): \OpenAPI\Client\cloud\fastreport\model\UserFontPermissionCRUDVMGet current user's permissions to a font
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string | user font id
try {
$result = $apiInstance->fontsGetMyPermissions($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsGetMyPermissions: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | user font id |
\OpenAPI\Client\cloud\fastreport\model\UserFontPermissionCRUDVM
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsGetPermissions($id): \OpenAPI\Client\cloud\fastreport\model\UserFontPermissionsVMGet font's permissions
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string | user font id
try {
$result = $apiInstance->fontsGetPermissions($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsGetPermissions: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | user font id |
\OpenAPI\Client\cloud\fastreport\model\UserFontPermissionsVM
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsGetPublicFonts($skip, $take): \OpenAPI\Client\cloud\fastreport\model\FontsVMReturns a list of public fonts
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$skip = 0; // int |
$take = 10; // int |
try {
$result = $apiInstance->fontsGetPublicFonts($skip, $take);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsGetPublicFonts: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| skip | int | [optional] [default to 0] | |
| take | int | [optional] [default to 10] |
\OpenAPI\Client\cloud\fastreport\model\FontsVM
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsGetPublicFontsCss(): stringCreates a css stylesheet for a public font
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->fontsGetPublicFontsCss();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsGetPublicFontsCss: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
string
- Content-Type: Not defined
- Accept:
application/json,text/css
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsUpdateFont($id, $update_user_font_vm): \OpenAPI\Client\cloud\fastreport\model\UserFontVMupdates a user font model
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string | id of the font
$update_user_font_vm = new \OpenAPI\Client\cloud\fastreport\model\UpdateUserFontVM(); // \OpenAPI\Client\cloud\fastreport\model\UpdateUserFontVM | update VM body
try {
$result = $apiInstance->fontsUpdateFont($id, $update_user_font_vm);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsUpdateFont: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | id of the font | |
| update_user_font_vm | \OpenAPI\Client\cloud\fastreport\model\UpdateUserFontVM | update VM body | [optional] |
\OpenAPI\Client\cloud\fastreport\model\UserFontVM
- Content-Type:
application/json,text/json,application/*+json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsUpdatePermissions($id, $update_user_font_permissions_vm)Update permissions
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string |
$update_user_font_permissions_vm = new \OpenAPI\Client\cloud\fastreport\model\UpdateUserFontPermissionsVM(); // \OpenAPI\Client\cloud\fastreport\model\UpdateUserFontPermissionsVM |
try {
$apiInstance->fontsUpdatePermissions($id, $update_user_font_permissions_vm);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsUpdatePermissions: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | ||
| update_user_font_permissions_vm | \OpenAPI\Client\cloud\fastreport\model\UpdateUserFontPermissionsVM | [optional] |
void (empty response body)
- Content-Type:
application/json,text/json,application/*+json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fontsUploadFont($file, $subscription_id, $enabled): \OpenAPI\Client\cloud\fastreport\model\UserFontsVMAllows user to upload a new truetype font to their subscription
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: ApiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure Bearer (JWT) authorization: JWT
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\FontsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$file = "/path/to/file.txt"; // \SplFileObject
$subscription_id = 'subscription_id_example'; // string
$enabled = True; // bool
try {
$result = $apiInstance->fontsUploadFont($file, $subscription_id, $enabled);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FontsApi->fontsUploadFont: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| file | \SplFileObject**\SplFileObject** | [optional] | |
| subscription_id | string | [optional] | |
| enabled | bool | [optional] |
\OpenAPI\Client\cloud\fastreport\model\UserFontsVM
- Content-Type:
multipart/form-data - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]