Log sleep

Client must send startTime/endTime with timezone offset.

post/api/sleep

Request

  • Base URL: https://healthpartner.shrynshjn.com
  • URL: https://healthpartner.shrynshjn.com/api/sleep
  • Auth: none declared

Request body

startTimestring date-time required

ISO with timezone offset.

endTimestring date-time required

ISO with timezone offset.

durationnumber required

milliseconds

sourcestring required
idempotencyKeystring
mediastring[]
naturalTextstring

Response

Created

messagestring
sleepIdstring
createdAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.