Get aggregated time spents for given person and day.

GET /data/persons/{person_id}/time-spents/day/{year}/{month}/{day}

Path parameters

  • person_id string(UUID) Required
  • year integer Required
  • month integer Required

    Minimum value is 1, maximum value is 12.

  • day integer Required

    Minimum value is 1, maximum value is 31.

Responses

  • 200

    Aggregated time spents for given person and day

  • 404

    Wrong date format

GET /data/persons/{person_id}/time-spents/day/{year}/{month}/{day}
curl \
 -X GET http://localhost:8080/api/data/persons/{person_id}/time-spents/day/{year}/{month}/{day} \
 -H "Authorization: $API_KEY"