phoenix-deploy-api: OpenAPI, server, systemd install, env example
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled

Made-with: Cursor
This commit is contained in:
defiQUG
2026-03-27 18:50:54 -07:00
parent d38581f04a
commit 92d854a31c
5 changed files with 87 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ tags:
- name: Infra
- name: VE
- name: Health
- name: PublicSector
- name: System
paths:
@@ -66,6 +67,27 @@ paths:
'202': { description: Accepted }
'401': { description: Unauthorized }
/api/v1/public-sector/programs:
get:
tags: [PublicSector]
summary: Public-sector and eIDAS program manifest (JSON)
description: |
Serves `config/public-sector-program-manifest.json` from the proxmox repo (or `PUBLIC_SECTOR_MANIFEST_PATH`).
No API key required. Returns 503 if the file is missing on the host.
responses:
'200':
description: Manifest JSON
content:
application/json:
schema:
type: object
properties:
schemaVersion: { type: string }
updated: { type: string }
programs: { type: array, items: { type: object } }
'500': { description: Invalid JSON or read error }
'503': { description: Manifest file not found }
/api/v1/infra/nodes:
get:
tags: [Infra]