Auth Service
HomeAuth Service
Api Reference
  • Authentication
  • File Controller
  • User FCM Token
  • User Basic Info
Changelog Release
HomeAuth Service
Api Reference
  • Authentication
  • File Controller
  • User FCM Token
  • User Basic Info
Changelog Release
  1. User
  • Introduction
  • Changelog Release
  • Local Development
  • Authentication
    • adminRegister
      POST
    • checkEmail
      POST
    • sendEmailVerification
      GET
    • verifyEmail
      POST
    • login
      POST
    • login
      POST
    • logout
      POST
    • sendRecoverPassword
      GET
    • recoverPassword
      POST
    • refreshToken
      POST
    • register
      POST
  • file-controller
    • streamPrivateData
      GET
  • internal-controller
    • getUserFcmTokenByUserId
    • getUserIntro
  • User
    • facebookCallbackUserInfo
      GET
    • updateUserAccount
      POST
    • deleteAllSessionOfUser
      DELETE
    • getUserBasicInfo
      GET
    • getUserIntro
      GET
    • updateUserIntro
      POST
    • testGetUserFromFirebaseByEmail
      GET
    • testGetUserFromFirebaseNoPassword
      GET
    • testGetUserFromFirebasePassword
      GET
    • getProfilePicture
      GET
    • storeUserFcmToken
      POST
    • updateFeedbackAskdoctor
      GET
    • updateUserIntroV2
      POST
  1. User

updateUserIntroV2

POST
/users/v2/intro
User

Request

Body Params multipart/form-data
dateOfBirth
string 
optional
dateOfBirth
deleteImage
string 
optional
deleteImage
imageFile
file 
optional
imageFile
initialHeight
number 
optional
initialHeight
initialWeight
number 
optional
initialWeight
name
string 
optional
name

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/users/v2/intro'

Responses

🟢200OK
application/json
Body
data
object (UserIntroResponse) 
optional
createdAt
string <date-time>
optional
dateOfBirth
string <date-time>
optional
deletedAt
string <date-time>
optional
email
string 
optional
emailVerified
boolean 
optional
feedbackAskDoctor
boolean 
optional
fromCognito
boolean 
optional
id
string 
optional
image
object (ImageResponse) 
optional
initialHeight
number <double>
optional
initialWeight
number <double>
optional
isBannedFromCommunity
boolean 
optional
isRegisterFirstBaby
boolean 
optional
name
string 
optional
phoneNumber
string 
optional
phoneNumberVerified
boolean 
optional
photoProfile
string 
optional
provider
string 
optional
totalChildProfile
integer <int32>
optional
totalPregnancyHistory
integer <int32>
optional
updatedAt
string <date-time>
optional
version
integer <int32>
optional
Example
{
    "data": {
        "createdAt": "2019-08-24T14:15:22Z",
        "dateOfBirth": "2019-08-24T14:15:22Z",
        "deletedAt": "2019-08-24T14:15:22Z",
        "email": "string",
        "emailVerified": true,
        "feedbackAskDoctor": true,
        "fromCognito": true,
        "id": "string",
        "image": {
            "id": 0,
            "url": "string"
        },
        "initialHeight": 0,
        "initialWeight": 0,
        "isBannedFromCommunity": true,
        "isRegisterFirstBaby": true,
        "name": "string",
        "phoneNumber": "string",
        "phoneNumberVerified": true,
        "photoProfile": "string",
        "provider": "string",
        "totalChildProfile": 0,
        "totalPregnancyHistory": 0,
        "updatedAt": "2019-08-24T14:15:22Z",
        "version": 0
    }
}
🟠400Bad Request
🟠401Unauthorized
🔴500Internal Server Error
Modified at 2023-01-25 06:06:07
Previous
updateFeedbackAskdoctor
Built with