Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ”ฅ Add trigger result endpoint (#1067)

* ๐Ÿš€ result endpoint

* ๐Ÿ›

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

authored by

Thibault Le Ouay
autofix-ci[bot]
and committed by
GitHub
7c637ff1 e0827506

+8 -1
+4
apps/docs/api-reference/whoami/get-whoami.mdx
··· 1 + --- 2 + title: Get a Whoami 3 + openapi: get /status_report/:id 4 + ---
+3
apps/server/src/v1/index.ts
··· 14 14 import { pagesApi } from "./pages"; 15 15 import { statusReportUpdatesApi } from "./statusReportUpdates"; 16 16 import { statusReportsApi } from "./statusReports"; 17 + import { whoamiApi } from "./whoami"; 17 18 18 19 export type Variables = { 19 20 workspaceId: string; ··· 66 67 api.route("/status_report", statusReportsApi); 67 68 api.route("/status_report_update", statusReportUpdatesApi); 68 69 api.route("/check", checkAPI); 70 + 71 + api.route("/whoami", whoamiApi);
+1 -1
apps/server/src/v1/monitors/results/get.ts
··· 33 33 path: "/:id/result/:resultId", 34 34 request: { 35 35 params: ParamsSchema.extend({ 36 - resultId: z.number().int().openapi({ 36 + resultId: z.string().openapi({ 37 37 description: "The id of the result", 38 38 }), 39 39 }),