Add FastAPI app with auth (JWT) and pipeline/bib/status endpoints #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Create
src/api/with FastAPI app:POST /auth/token— issue JWT from configured credentialsPOST /run/{pipeline}— trigger async pipeline run, return job IDGET /run/{job_id}— poll job statusGET /pipelines— list all pipelines with step countsGET /pipelines/{name}— pipeline detail (steps, inputs, outputs, refs)GET /bib/items— query bibliographyGET /bib/tags— list tag namespaces with countsGET /health— service + dependency health checksGET /schema/{table}— JSON Schema from SQLTable.model_json_schema()Auth: JWT with configurable secret in stack.toml
[api]section.Add
stack api serveCLI command.