ورود | ثبت نام
  • FA
  • EN

API Docs

POST /api/v1/tracker/sleeps

Record a new sleep in the tracker system.


Permissions

PermissionDescription
tracker_sleeps.createCreate tracker sleep

Request Body Parameters

NameTypeRequiredDescription
tracked_atstringYesDatetime for the sleep record
notesstringNoOptional notes

Response

201 Created

<tracker sleep resource>

Error Responses

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

footer wave
logo

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

LinkedinInstagramXYoutubeTelegram