MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / registerUser

Method registerUser

frontend/src/client/sdk.gen.ts:493–505  ·  view source on GitHub ↗

* Register User * Create new user without the need to be logged in. * @param data The data for the request. * @param data.requestBody * @returns UserPublic Successful Response * @throws ApiError

(
    data: UsersRegisterUserData,
  )

Source from the content-addressed store, hash-verified

491 * @throws ApiError
492 */
493 public static registerUser(
494 data: UsersRegisterUserData,
495 ): CancelablePromise<UsersRegisterUserResponse> {
496 return __request(OpenAPI, {
497 method: 'POST',
498 url: '/api/v1/users',
499 body: data.requestBody,
500 mediaType: 'application/json',
501 errors: {
502 422: 'Validation Error',
503 },
504 })
505 }
506
507 /**
508 * Get My Ai Usage Quota

Callers 1

useAuthFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected