Installation & Setup

To use the V8 API, your server must support OAuth2 encryption and URL rewriting.

1. Generating Encryption Keys

The API uses a public/private key pair to sign Access Tokens. These must be stored in Api/V8/OAuth2/.

# Generate private key
openssl genrsa -out Api/V8/OAuth2/private.key 2048

# Generate public key
openssl rsa -in Api/V8/OAuth2/private.key -pubout -out Api/V8/OAuth2/public.key

Ensure the keys are owned by the web server user (e.g., www-data) and have 600 permissions.

2. URL Rewriting

All API requests must be routed to Api/index.php.

  • Apache: Ensure mod_rewrite is enabled and the .htaccess file in the Api/ directory is present.

Content is available under GNU Free Documentation License 1.3 or later unless otherwise noted.