Static file source resolution order:
functionsConfig.assets(if provided)<cwd>/assetsif current directory is a valid BFast workspace (bfast.jsonpresent)- fallback internal path used by runtime for development
Mounted route:
/assets/*
GET /functions-healthResponse:
{ "message": "running" }GET /functions-allResponse:
- default: structured HTML documentation page for discovered descriptors
- includes endpoint/trigger summary and function details
- if descriptor fields are present, docs include:
descriptionordocrequestorrequestSampleresponseorresponseSample
- add
?format=json(or sendAccept: application/json) for machine-readable metadata
curl http://localhost:3000/functions-health
curl http://localhost:3000/functions-all
curl http://localhost:3000/functions-all?format=json
curl http://localhost:3000/assets/style.css