Core Service
HomeCore Service
Playground
  • Child
  • Daily Notes
  • Fetus Image
  • File
  • Migration
  • Milestone
  • Mood Tracker
  • Mother Weight
  • Pregnancy
Changelog Release
HomeCore Service
Playground
  • Child
  • Daily Notes
  • Fetus Image
  • File
  • Migration
  • Milestone
  • Mood Tracker
  • Mother Weight
  • Pregnancy
Changelog Release
  1. milestone-controller
  • Introduction
  • Changelog Release
  • Local Development
  • Child
    • getChildList
      GET
    • updateProfile
      POST
    • createFirstBaby
      POST
    • deleteBaby
      DELETE
  • daily-note-controller
    • get list of daily notes
      POST
    • delete daily note by id
      DELETE
    • create new daily note
      POST
    • update existing daily note
      POST
  • fetus-image-controller
    • getFetusImageByWeekV2
      GET
    • getFetusImageByWeek
      GET
  • file-controller
    • streamPrivateData
      GET
  • migration-controller
    • migrateChild
      GET
    • migratePregnancy
      GET
    • migratePregnancyCheckup
      GET
    • migratePregnancyByEmail
      GET
    • migrateUsgScan
      GET
  • milestone-controller
    • get user's list of baby milestones by baby id and month
      GET
    • update user's list of baby monthly milestones
      POST
    • get user's list of pregnancy milestones by week
      GET
    • update user's list of pregnancy weekly milestones
      POST
  • mood-tracker-controller
    • get mood history by pregnancy id, start date, and end date
    • get monthly mood history by pregnancy id and month
    • create / update mood data
    • get weekly mood history by pregnancy id and week
    • delete mood data by id
  • mother-weight-controller
    • get mother's weight by pregnancy id, mode, start date, and end date
    • get mother's weight data by pregnancy id and date
    • get mother's weight monthly report by pregnancy id
    • create / update mother's weight data
    • delete mother's weight by id
  • pregnancy-controller
    • updateDueDate
    • getPregnancyDetail
    • createFirstPregnancy
    • getPregnancyHistory
    • updateStatus
    • createFirstPregnancy
    • deletePregnancy
  1. milestone-controller

update user's list of pregnancy weekly milestones

POST
/milestone/pregnancy
milestone-controller

Request

Body Params application/json
babyId
integer <int64>
optional
baby id of the milestone created for
Example:
4
milestones
array[object (MileStoneResponse) {4}] 
optional
list of milestone data
checked
boolean 
optional
description
string 
optional
id
integer <int64>
optional
title
string 
optional
week
integer <int32>
optional
pregnancy's age in week
Example:
4
Example
{
    "babyId": 4,
    "milestones": [
        {
            "checked": true,
            "description": "string",
            "id": 0,
            "title": "string"
        }
    ],
    "week": 4
}

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 '/milestone/pregnancy' \
--header 'Content-Type: application/json' \
--data-raw '{
    "babyId": 4,
    "milestones": [
        {
            "checked": true,
            "description": "string",
            "id": 0,
            "title": "string"
        }
    ],
    "week": 4
}'

Responses

🟢200OK
application/json
Body
data
object (MilestoneRequest) 
optional
babyId
integer <int64>
optional
baby id of the milestone created for
Example:
4
milestones
array[object (MileStoneResponse) {4}] 
optional
list of milestone data
week
integer <int32>
optional
pregnancy's age in week
Example:
4
Example
{
    "data": {
        "babyId": 4,
        "milestones": [
            {
                "checked": true,
                "description": "string",
                "id": 0,
                "title": "string"
            }
        ],
        "week": 4
    }
}
Modified at 2023-01-24 09:44:30
Previous
get user's list of pregnancy milestones by week
Next
get mood history by pregnancy id, start date, and end date
Built with