File tree Expand file tree Collapse file tree
server/controllers/user.controller Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,15 @@ function generateApiKey(): Promise<string> {
2323 } ) ;
2424}
2525
26- /** POST /account/api-keys, UserController.createApiKey */
26+ /**
27+ * - Method: `POST`
28+ * - Endpoint: `/account/api-keys`
29+ * - Authenticated: `true`
30+ * - Id: `UserController.createApiKey`
31+ *
32+ * Description:
33+ * - Create API key
34+ */
2735export const createApiKey : RequestHandler <
2836 { } ,
2937 ApiKeyResponseOrError ,
@@ -75,7 +83,15 @@ export const createApiKey: RequestHandler<
7583 }
7684} ;
7785
78- /** DELETE /account/api-keys/:keyId, UserController.removeApiKey */
86+ /**
87+ * - Method: `DELETE`
88+ * - Endpoint: `/account/api-keys/:keyId`
89+ * - Authenticated: `true`
90+ * - Id: `UserController.removeApiKey`
91+ *
92+ * Description:
93+ * - Remove API key
94+ */
7995export const removeApiKey : RequestHandler <
8096 RemoveApiKeyRequestParams ,
8197 ApiKeyResponseOrError
You can’t perform that action at this time.
0 commit comments