Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 915 Bytes

API.md

File metadata and controls

29 lines (19 loc) · 915 Bytes

FBAPI - Fruho Backend API

GET /check-for-updates GET /ip GET /dnscache GET /loc POST /loc GET /now GET /welcome

VPAPI - VPN Provider API

This is the API defined and used by the Fruho program to import VPN configurations and plan definitions from third party VPN services. This also applies to Fruho as an interim VPN service so it must be implemented on bootstrap hosts along with FBAPI. It is also used in case when VPN provider does not provide VPAPI endpoint - Fruho client needs to connect to bootstrap nodes and retrieve configuration via nuncio robot.

All calls must be HTTPS with username and password passed via Basic Authentication

GET /vpapi//config Result: config.ovpn with inline CA and optionally KEY and CERT

GET /vpapi//plans Result: JSON plan description with server list

POST /vpapi//cert Input: CSR or PUBKEY posted in body request Result: signed CRT