Update index.ts
This commit is contained in:
parent
287e7e5660
commit
c9778e9176
13
src/index.ts
13
src/index.ts
|
|
@ -66,10 +66,17 @@ export default {
|
||||||
return json({
|
return json({
|
||||||
success: true,
|
success: true,
|
||||||
data: {
|
data: {
|
||||||
service: "dough-restful",
|
service: "Doughmination Restful",
|
||||||
description: "Combined Discord presence + profile/badges API.",
|
description: "Combined Discord presence + profile/badges API.",
|
||||||
repository_url: "https://git.gay/doughmination/dough-restful",
|
licence: "ESAL-2.0",
|
||||||
endpoints: ["/v1/users/:id", "/v1/users/:id/presence", "/v1/users/:id/profile", "/socket"],
|
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,
|
} as any,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue