= __("The Wavelog API (Application Programming Interface) lets third party systems access Wavelog in a controlled way. Access to the API is managed via API keys."); ?> = __("New integrations should use the API v2 tokens below, if the third party system supports it."); ?>
= __("You will need to generate an API key for each tool you wish to use (e.g. WLgate). Generate a read-write key if the application needs to send data to Wavelog. Generate a read-only key if the application only needs to obtain data from Wavelog."); ?>
= __("Links to 3rd-Party-Software which works with Wavelog API v1:")?>
= __("API URL"); ?> = __("The API URL for this Wavelog instance is"); ?>: " onClick='copyApiUrl(apiSiteUrl)'>
= __("Info"); ?> = __("It's good practice to delete a key if you are no longer using the associated application."); ?>
= __("Important"); ?> = __("On Clubstations the API Keys are personal and not shared. Clubstation users can only see their own keys."); ?>
num_rows() > 0) { ?>| = __("API Key"); ?> | = __("Description"); ?> | = __("Last Used"); ?> | = __("Created By"); ?> | = __("Permissions"); ?> | = __("Status"); ?> | = __("Actions"); ?> |
|---|---|---|---|---|---|---|
| " data-apikey="" onclick="copyApiKey(this.dataset.apikey)"> | description ?? ''); ?> | last_used ?? ''); ?> | user_callsign ?? ''); ?> | rights == "rw") { echo "" . __("Read & Write") . ""; } elseif ($row->rights == "r") { echo "" . __("Read-Only") . ""; } else { echo "" . __("Unknown") . ""; } ?> | status ?? '')); ?> |
= __("Edit"); ?>
= __("Test"); ?>
description ?: __(" |
= __("You have no API Keys."); ?>
= __("API Tokens grant access to the REST API v2 with granular permissions (scopes). The token is shown only once when it is created, so copy it right away."); ?>
= sprintf(__("The API v2 documentation can be found %shere%s."), '', ''); ?>
= __("API URL"); ?> = __("The API v2 base URL for this Wavelog instance is"); ?>: " onClick='copyApiV2Url("")'>
= __("Important"); ?> = __("On Clubstations the API Tokens are personal and not shared. Clubstation users can only see their own tokens."); ?>
num_rows() > 0) { ?>| = __("Name"); ?> | = __("Scopes"); ?> | = __("Last Used"); ?> | = __("Expires"); ?> | = __("Created By"); ?> | = __("Actions"); ?> |
|---|---|---|---|---|---|
| token_name); ?> | scopes) as $scope) { ?> | last_used ?? __("Never")); ?> | expires_at === null) { echo '' . __("Never") . ''; } elseif (strtotime($row->expires_at) < time()) { echo '' . __("Expired") . ' ' . html_escape($row->expires_at); } else { echo html_escape($row->expires_at); } ?> | user_callsign ?? ''); ?> | token_name . '"'); ?> |
= __("You have no API Tokens yet. Click on the button below to create one."); ?>