diff --git a/src/index.ts b/src/index.ts index 35cddf8..d0f224b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -66,10 +66,17 @@ export default { return json({ success: true, data: { - service: "dough-restful", + service: "Doughmination Restful", description: "Combined Discord presence + profile/badges API.", - repository_url: "https://git.gay/doughmination/dough-restful", - endpoints: ["/v1/users/:id", "/v1/users/:id/presence", "/v1/users/:id/profile", "/socket"], + licence: "ESAL-2.0", + repository_url: "https://git.gay/doughmination/restful", + main_endpoint: "/v1/users/:id", + websocket: "/socket", + healthcheck: "/status", + other_endpoints: ["/v1/users/:id/presence", "/v1/users/:id/profile"], + }, + authors: { + doughmination: "https://git.gay/doughmination", } as any, }); } @@ -131,4 +138,4 @@ export default { async scheduled(_event: ScheduledController, env: Env, _ctx: ExecutionContext): Promise { await gatewayStub(env).fetch("https://do/connect"); }, -}; \ No newline at end of file +};