dambel

دمبل

shevron
ورود | ثبت نام

API Docs / tracker / sleeps / update



PUT /api/v1/tracker/sleeps/{tracker-sleep-id}

Update a sleep record in the tracker system.


Permissions

PermissionDescription
tracker_sleeps.updateUpdate tracker sleep

Request Body Parameters

NameTypeRequiredDescription
tracked_atstringNoDatetime for the sleep record
notesstringNoOptional notes

All parameters are optional. If omitted, they will not be updated. You can set them to null if desired.


Response

200 OK

<tracker sleep resource>

Error Responses

StatusError TypeReference
422Validation ErrorValidation error
401UnauthorizedAuthentication error
403ForbiddenPermission error

footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube