Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following config settings can be found in the rogo config fileconfiguration screen:

$cfgcfg_enable_apiEnables or disables the API functionality
$cfgcfg_oauth_access_lifetimeStores in seconds the lifetime of an oauth access token
$cfgcfg_oauth_refresh_token_lifetimeStores in seconds the lifetime of an oauth refresh token
$cfgcfg_oauth_always_issue_new_refresh_tokenEnables or disables the oauth refresh token

...

insert into config (component, setting, value) values ('core', 'apilogfile', '<writeable_path>/api.log');

the configuration screen via the 'apilogfile' setting

Logging is only suggested for development servers as it will chew through your disk space.

From Rogo 6.4.0 this setting is set in the configuration screen - Adminstration Tools > Configuration

Expand
titleLogging

Logging of all API requests and reponses can be enabled by added the apilogfile config item in the database:

Code Block
languagesql
Info


Expand
titleFrameworks

The following frameworks are used in the api code:

  • Slim - php api framework
  • Twig - php template engine

...