Authentication
Create User
Create a new user with username.
This is an authentication endpoint - it handles the initial sign-up. The token is verified as part of the authentication process, not via dependency. Provider is determined from X-Provider-Id header (firebase, google, apple). Automatically determines the Firebase service (yzfoto/avukatim) from the token.
post/api/v1/auth
Request
- Base URL: https://foto.damdafa.com/dreamhome
- URL: https://foto.damdafa.com/dreamhome/api/v1/auth
- Auth: HTTP bearer
Headers
X-Provider-Id'firebase' | 'google' | 'apple'
Request body
Example request
{
"displayName": "John Doe",
"email": "john@example.com",
"serverAuthCode": "optional_auth_code"
}Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.