Frontends
Replace a Frontend route
Changed onReplaces the route's mounted Frontend and path. The new values must meet the same rules as on create.
put/projects/{id}/frontends/{frontendId}/frontend-routes/{routeId}
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
id, string uuid required
Project ID
frontendId, string uuid required
Frontend ID
routeId, string uuid required
Frontend route ID
Request body
Create Frontend Route Request required
target_frontend_id, string uuid required
The Frontend to mount. It must be another Frontend in the Project.
path_prefix, string required
Response
Frontend route replaced
Frontend Route required
A path prefix on this Frontend's hostnames served by another Frontend in the Project, the mounted Frontend. Paths are forwarded unchanged, so the mounted Frontend serves its prefix as real pages (page directories or a matching basePath).
id, string uuid required
project_id, string uuid required
frontend_id, string uuid required
The Frontend whose hostnames serve the route
target_frontend_id, string uuid required
The mounted Frontend
path_prefix, string required
created_at, string date-time required
updated_at, string date-time required
Changes
- info
endpoint added
- info