Apidog Integration
LibreAuth OpenAPI → Apidog Project — interactive API documentation
INFO
Project ID:
1307951 · Open: app.apidog.com/project/1307951WARN
Do not commit Personal Access Tokens to Git. Store them in
deploy/apidog.ini only (gitignored). Invite-link tokens are one-time use — create a new API Access Token in Account Settings.Join Project
- Open the Apidog invite link (or project 1307951)
- Log in to Apidog → Accept invite → enter project libreauth
- Project Settings → Basic Settings → confirm Project ID =
1307951
OpenAPI Source
LibreAuth serves the spec automatically from api-spec.php — 9 endpoints with separate paths (/init, /login, …):
https://libreauth.nutexe.dev/docs/openapi.php
Scalar UI (self-hosted): Live API Reference · SDKs: 17 languages
Method 1 — Scheduled Import (Recommended)
Apidog pulls the URL automatically — no token storage on server (docs)
- Apidog project libreauth → Settings → Import Data → Scheduled Import
- Source format: OpenAPI 3.x
- Source URL:
https://libreauth.nutexe.dev/docs/openapi.php - Frequency: every 30 minutes or daily
- Overwrite: Auto Merge
- Save → on new docs deploy, Apidog syncs automatically
Method 2 — Push via Script
- Apidog → Account Settings → API Access Token → create token (
adgp_...) - Local:
copy deploy\apidog.example.ini deploy\apidog.ini - Set
token=adgp_YOUR_TOKEN(project_id preconfigured = 1307951) - Run
deploy\sync-apidog.bat
POST https://api.apidog.com/v1/projects/1307951/import-openapi
Authorization: Bearer YOUR_TOKEN
X-Apidog-Api-Version: 2024-03-28
{
"input": { "url": "https://libreauth.nutexe.dev/docs/openapi.php" },
"options": { "endpointOverwriteBehavior": "AUTO_MERGE" }
}
Method 3 — One-Time Import
- Apidog → Import Data → OpenAPI/Swagger → URL
https://libreauth.nutexe.dev/docs/openapi.php- Import → 9 endpoints with code samples ready
Publish Docs Site
- Apidog → Share → Publish Docs Site
- Get a public URL for sharing docs
- Customize theme to match LibreAuth brand
- Embed link in website or Panel
Client SDKs (17 Languages)
Use alongside Apidog Try-it — all languages in Client SDKs:
INFO