···1818 // FIXME: Should work for all types of monitors
1919 description:
2020 "**WARNING:** This works only for HTTP monitors. We will add support for other types of monitors soon.",
2121- path: "/:id/result/:resultId",
2121+ path: "/{id}/result/{resultId}",
2222 request: {
2323 params: ParamsSchema.extend({
2424 resultId: z.string().openapi({
+1-1
apps/server/src/routes/v1/monitors/run/post.ts
···2020 summary: "Create a monitor run",
2121 description:
2222 "Run a synthetic check for a specific monitor. It will take all configs into account.",
2323- path: "/:id/run",
2323+ path: "/{id}/run",
2424 request: {
2525 params: ParamsSchema,
2626 query: QuerySchema,
+1-1
apps/server/src/routes/v1/monitors/summary/get.ts
···2424 summary: "Get a monitor summary",
2525 description:
2626 "Get a monitor summary of the last 45 days of data to be used within a status page",
2727- path: "/:id/summary",
2727+ path: "/{id}/summary",
2828 request: {
2929 params: ParamsSchema,
3030 },
···1414 method: "post",
1515 tags: ["page_subscriber"],
1616 summary: "Subscribe to a status page",
1717- path: "/:id/update",
1717+ path: "/{id}/update",
1818 middleware: [trackMiddleware(Events.SubscribePage)],
1919 description: "Add a subscriber to a status page", // TODO: how to define legacy routes
2020 request: {