- Add a new homepage to `book` project for the routing page - Move all main doc pages to be under `/v2/learn` (and added redirects + fixed links across docs) - Other: add admin components to resources dropdown + fixes to search on mobile. Closes DX-955 Preview: https://docs-v2-git-docs-router-page-medusajs.vercel.app/v2
15 lines
455 B
Plaintext
15 lines
455 B
Plaintext
export const metadata = {
|
|
title: `${pageNumber} API Routes Advanced Guides`,
|
|
}
|
|
|
|
# {metadata.title}
|
|
|
|
In the next chapters, you'll focus more on API routes to learn about topics such as:
|
|
|
|
- Creating API routes for different HTTP methods.
|
|
- Accepting parameters in your API routes.
|
|
- Formatting response data and headers.
|
|
- Applying middlewares on API routes.
|
|
- Validating request body parameters.
|
|
- Protecting API routes by requiring user authentication.
|