You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs-app/docs/features/api/overview.md
+102Lines changed: 102 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,108 @@ With this configuration, Analog exposes the API routes under the `/services` pre
74
74
75
75
A route defined in `src/server/routes/v1/hello.ts` can now be accessed at `/services/v1/hello`.
76
76
77
+
## Dynamic API Routes
78
+
79
+
Dynamic API routes are defined by using the filename as the route path enclosed in square brackets. Parameters can be accessed via `event.context.params`.
0 commit comments