Frontends
Route a Frontend path to an HTTP Function
Changed onThe Frontend and Function must belong to this Project. The Function must be a standard Function with visibility: public and HTTP invocation mode, because requests through the route carry no credential: Volcano does not check a token sent to a route path or add __volcano_auth, so the Function authenticates its callers itself. A Function cannot leave public while a route targets it. The route applies to every hostname that resolves to the Frontend, including generated, custom-domain, preview, and local hostnames.
post/projects/{id}/frontends/{frontendId}/function-routes
Request
- Base URL: https://api.volcano.dev
- URL: https://api.volcano.dev/projects/{id}/frontends/{frontendId}/function-routes
- Auth: one of:
- HTTP bearer
- HTTP bearer
Request body
Response
Function route created
Changes
- ○
endpoint added
- ○